@@ -22,11 +22,11 @@ jobs:
2222 renderer :
2323 - OpenGL
2424 config :
25- - { name: Linux (x86), os: ubuntu-latest, target: "x86_64-unknown-linux-gnu" }
26- - { name: Linux (ARM), os: ubuntu-latest, target: "aarch64-unknown-linux-gnu" }
27- - { name: MacOS (x86), os: macos-latest, target: "x86_64-apple-darwin" }
28- - { name: MacOS (ARM), os: macos-latest, target: "aarch64-apple-darwin" }
29- - { name: Windows (x86), os: windows-latest, target: "x86_64-pc-windows-msvc" }
25+ - { name: Linux (x86), os: ubuntu-latest, target: "x86_64-unknown-linux-gnu" }
26+ - { name: Linux (ARM), os: ubuntu-24.04-arm, target: "aarch64-unknown-linux-gnu" }
27+ - { name: MacOS (x86), os: macos-latest, target: "x86_64-apple-darwin" }
28+ - { name: MacOS (ARM), os: macos-latest, target: "aarch64-apple-darwin" }
29+ - { name: Windows (x86), os: windows-latest, target: "x86_64-pc-windows-msvc" }
3030
3131 steps :
3232 - name : Checkout
3636 with :
3737 targets : ${{ matrix.config.target }}
3838
39- - name : Setup aarch64
40- if : matrix.config.target == 'aarch64-unknown-linux-gnu'
41- run : |
42- sudo apt update
43- sudo apt install gcc-aarch64-linux-gnu
44- echo "[target.aarch64-unknown-linux-gnu]" >> ~/.cargo/config
45- echo "linker = \"aarch64-linux-gnu-gcc\"" >> ~/.cargo/config
46-
4739 - name : Build Inox2D
4840 run : cargo build -p inox2d --no-default-features --features owo --all-targets --target=${{ matrix.config.target }}
4941
5547 if : matrix.renderer == 'OpenGL'
5648 run : cargo build -p render-opengl --all-targets --target=${{ matrix.config.target }}
5749
50+ - name : Test Inox2D
51+ run : cargo test --target=${{ matrix.config.target }}
52+
5853 build-webgl :
5954 name : Build WebGL Example
6055 runs-on : ubuntu-latest
0 commit comments