Skip to content

Commit

Permalink
Add back other builds - hope they work still
Browse files Browse the repository at this point in the history
  • Loading branch information
milesgranger committed Sep 21, 2024
1 parent ccf3fe7 commit 3a180cd
Showing 1 changed file with 49 additions and 49 deletions.
98 changes: 49 additions & 49 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,52 +11,52 @@ on:
- prereleased

jobs:
# test-cross:
# runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# target:
# - x86_64-unknown-linux-musl
# - s390x-unknown-linux-gnu
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: recursive

# - name: Install Rust toolchain
# uses: dtolnay/rust-toolchain@stable

# - name: Install cross
# run: cargo install cross --git https://github.com/cross-rs/cross --rev 6d097fb

# - name: Test
# run: cross test --target ${{ matrix.target }} --release

# test-wasm32-emscripten:
# runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# build: [static, shared]
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: recursive

# - name: Install Rust toolchain
# uses: dtolnay/rust-toolchain@stable
# with:
# target: wasm32-unknown-emscripten

# - name: Install build deps
# run: sudo apt install nasm gcc-multilib

# - name: Install Emscripten
# uses: mymindstorm/setup-emsdk@v14

# - name: Build
# run: cargo build --target wasm32-unknown-emscripten --no-default-features --features ${{ matrix.build }}
test-cross:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target:
- x86_64-unknown-linux-musl
- s390x-unknown-linux-gnu
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable

- name: Install cross
run: cargo install cross --git https://github.com/cross-rs/cross --rev 6d097fb

- name: Test
run: cross test --target ${{ matrix.target }} --release

test-wasm32-emscripten:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
build: [static, shared]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
target: wasm32-unknown-emscripten

- name: Install build deps
run: sudo apt install nasm gcc-multilib

- name: Install Emscripten
uses: mymindstorm/setup-emsdk@v14

- name: Build
run: cargo build --target wasm32-unknown-emscripten --no-default-features --features ${{ matrix.build }}

test-native:
runs-on: ${{ matrix.os }}
Expand All @@ -65,9 +65,9 @@ jobs:
matrix:
os:
- macos-13 # x86_64
- macos-14 # M1
# - windows-latest
# - ubuntu-latest
- macos-14 # arm
- windows-latest
- ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 3a180cd

Please sign in to comment.