Skip to content

Commit

Permalink
CI...again
Browse files Browse the repository at this point in the history
  • Loading branch information
Ragnt committed Jan 12, 2024
1 parent a2f6ce5 commit 6a2de72
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:

jobs:
test:
name: ${{ matrix.platform.os_name }} with rust ${{ matrix.toolchain }}
name: ${{ matrix.platform.os_name }} with rust ${{ matrix.platform.toolchain }}
runs-on: ${{ matrix.platform.os }}
strategy:
fail-fast: false
Expand All @@ -26,49 +26,54 @@ jobs:
target: x86_64-unknown-linux-gnu
bin: angryoxide
name: angryoxide-linux-x86_64.tar.gz
toolchain: stable

- os_name: Linux-x86_64_musl
os: ubuntu-20.04
target: x86_64-unknown-linux-musl
bin: angryoxide
name: angryoxide-linux-x86_64-musl.tar.gz
toolchain: stable

- os_name: Linux-aarch64
os: ubuntu-20.04
target: aarch64-unknown-linux-musl
bin: angryoxide
name: angryoxide-linux-aarch64-musl.tar.gz
toolchain: stable

- os_name: Linux-arm
os: ubuntu-20.04
target: arm-unknown-linux-musleabi
bin: angryoxide
name: angryoxide-linux-arm-musl.tar.gz
toolchain: stable

- os_name: Linux-armv7hf
os: ubuntu-20.04
target: armv7-unknown-linux-musleabihf
bin: angryoxide
name: angryoxide-linux-armv7hf-musl.tar.gz
toolchain: stable

- os_name: Linux-mips-musl
os: ubuntu-20.04
target: mips-unknown-linux-musl
bin: angryoxide
name: angryoxide-linux-mips-musl.tar.gz
toolchain: nightly

toolchain:
- stable
- nightly

steps:
- uses: actions/checkout@v3

- name: Cache cargo & target directories
uses: Swatinem/rust-cache@v2

- name: Configure Git
run: |
git config --global user.email "[email protected]"
git config --global user.name "J. Doe"
- name: Install musl-tools on Linux
run: sudo apt-get update --yes && sudo apt-get install --yes musl-tools
if: contains(matrix.platform.name, 'musl')
Expand All @@ -89,7 +94,7 @@ jobs:
with:
command: "build"
target: ${{ matrix.platform.target }}
toolchain: ${{ matrix.toolchain }}
toolchain: ${{ matrix.platform.toolchain }}
args: "--locked --release"
strip: true
if: ${{ !contains(matrix.platform.target, 'mips') }}
Expand All @@ -99,7 +104,7 @@ jobs:
with:
command: "build"
target: ${{ matrix.platform.target }}
toolchain: nightly
toolchain: ${{ matrix.platform.toolchain }}
args: "--locked --release -Zbuild-std"
strip: true
if: contains(matrix.platform.target, 'mips')
Expand Down

0 comments on commit 6a2de72

Please sign in to comment.