Skip to content

Commit

Permalink
[ci] More nix work
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Jun 8, 2024
1 parent e3b2c49 commit 0b31e12
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 12 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ on: push
jobs:
fedora:
name: Fedora (latest)
runs-on: [self-hosted, ubuntu-latest]
runs-on: ubuntu-latest
container:
image: fedora:latest
options: --user "$(id -u):$(id -g)"

steps:
- name: Install git
Expand All @@ -29,9 +30,10 @@ jobs:
suseleap:
name: OpenSUSE Leap
runs-on: [self-hosted, ubuntu-latest]
runs-on: ubuntu-latest
container:
image: opensuse/leap:latest
options: --user "$(id -u):$(id -g)"

steps:
- name: Install git
Expand All @@ -53,10 +55,10 @@ jobs:
susetumbleweed:
name: OpenSUSE Tumbleweed
runs-on: [self-hosted, ubuntu-latest]
runs-on: ubuntu-latest
container:
image: opensuse/tumbleweed:latest
options: --privileged
options: --privileged --user "$(id -u):$(id -g)"

steps:
- name: Install git
Expand All @@ -78,9 +80,10 @@ jobs:
archqt6:
name: ArchLinux
runs-on: [self-hosted, ubuntu-latest]
runs-on: ubuntu-latest
container:
image: archlinux:latest
options: --user "$(id -u):$(id -g)"

steps:
- name: Install git
Expand All @@ -105,9 +108,10 @@ jobs:
archqt6system:
name: ArchLinux (System)
runs-on: [self-hosted, ubuntu-latest]
runs-on: ubuntu-latest
container:
image: archlinux:latest
options: --user "$(id -u):$(id -g)"

steps:
- name: Install git
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/debian-builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ on: push
jobs:
debian:
name: Debian
runs-on: [self-hosted, ubuntu-latest]
runs-on: ubuntu-latest
container:
image: debian:${{ matrix.distro }}
options: --user "$(id -u):$(id -g)"

strategy:
matrix:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/embedded.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ jobs:
#
rpi64:
name: RaspberryPi64
runs-on: [self-hosted, ubuntu-latest]
runs-on: ubuntu-latest
container:
image: archlinux:latest
options: --user "$(id -u):$(id -g)"

steps:
- name: Install git
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nix-builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: push
jobs:
nix:
name: Nix
runs-on: [self-hosted, ubuntu-latest]
runs-on: ubuntu-latest
steps:

- name: Checkout code
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ubuntu-builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Ubuntu build
on: push

jobs:
jammy:
ubuntu:
name: Ubuntu
runs-on: [self-hosted, ubuntu-latest]
runs-on: ubuntu-latest

strategy:
matrix:
Expand All @@ -19,6 +19,7 @@ jobs:

container:
image: ubuntu:${{ matrix.distro }}
options: --user "$(id -u):$(id -g)"

steps:
- name: Install git
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/wasm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ on: push
jobs:
wasm:
name: WebAssembly
runs-on: [self-hosted, ubuntu-latest]
runs-on: ubuntu-latest
container:
image: archlinux:latest
options: --user "$(id -u):$(id -g)"

steps:
- name: Install git
Expand Down

0 comments on commit 0b31e12

Please sign in to comment.