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 9, 2024
1 parent e3b2c49 commit ac5bf9a
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 13 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 $UID:$GROUPS

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 $UID:$GROUPS

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 $UID:$GROUPS

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 $UID:$GROUPS

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 $UID:$GROUPS

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 $UID:$GROUPS

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 $UID:$GROUPS

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 $UID:$GROUPS

steps:
- name: Install git
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Releases are available for [Windows, Linux (via AppImage) and Mac OS X](https://
| Debian (Bookworm, Trixie) | [![Debian](https://github.com/ossia/score/actions/workflows/debian-builds.yaml/badge.svg)](https://github.com/ossia/score/actions/workflows/debian-builds.yaml) |
| Ubuntu (22.04, 23.04, 24.04) | [![Ubuntu](https://github.com/ossia/score/actions/workflows/ubuntu-builds.yaml/badge.svg)](https://github.com/ossia/score/actions/workflows/ubuntu-builds.yaml) |
| Raspberry Pi (Bullseye AArch64) | [![RPi](https://github.com/ossia/score/actions/workflows/embedded.yaml/badge.svg)](https://github.com/ossia/score/actions/workflows/embedded.yaml) |
| Nix | [![Nix](https://github.com/ossia/score/actions/workflows/nix.yaml/badge.svg)](https://github.com/ossia/score/actions/workflows/nix.yaml) |
| Nix | [![Nix](https://github.com/ossia/score/actions/workflows/nix-builds.yaml/badge.svg)](https://github.com/ossia/score/actions/workflows/nix-builds.yaml) |
| WebAssembly | [![WASM](https://github.com/ossia/score/actions/workflows/wasm.yaml/badge.svg)](https://github.com/ossia/score/actions/workflows/wasm.yaml) |
| Plug-in templates | [![Template check](https://github.com/ossia/score/actions/workflows/templates.yaml/badge.svg)](https://github.com/ossia/score/actions/workflows/templates.yaml) |

Expand Down

0 comments on commit ac5bf9a

Please sign in to comment.