@@ -22,11 +22,11 @@ jobs:
22
22
renderer :
23
23
- OpenGL
24
24
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" }
30
30
31
31
steps :
32
32
- name : Checkout
36
36
with :
37
37
targets : ${{ matrix.config.target }}
38
38
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
-
47
39
- name : Build Inox2D
48
40
run : cargo build -p inox2d --no-default-features --features owo --all-targets --target=${{ matrix.config.target }}
49
41
55
47
if : matrix.renderer == 'OpenGL'
56
48
run : cargo build -p render-opengl --all-targets --target=${{ matrix.config.target }}
57
49
50
+ - name : Test Inox2D
51
+ run : cargo test --target=${{ matrix.config.target }}
52
+
58
53
build-webgl :
59
54
name : Build WebGL Example
60
55
runs-on : ubuntu-latest
0 commit comments