@@ -17,42 +17,44 @@ jobs:
1717 - build : linux-x86
1818 os : ubuntu-latest
1919 target : x86_64-unknown-linux-gnu
20- - build : linux-i686
21- os : ubuntu-latest
22- target : i686-unknown-linux-gnu
23- - build : linux-aarch64
24- os : ubuntu-latest
25- target : aarch64-unknown-linux-gnu
2620 - build : windows-x86
2721 os : windows-latest
2822 target : x86_64-pc-windows-msvc
29- - build : windows-i686
30- os : windows-latest
31- target : i686-pc-windows-msvc
32- - build : windows-aarch64
33- os : windows-latest
34- target : aarch64-pc-windows-msvc
35- - build : macos-x86
36- os : macos-latest
37- target : x86_64-apple-darwin
23+ # - build: windows-i686
24+ # os: windows-latest
25+ # target: i686-pc-windows-msvc
26+ # - build: windows-aarch64
27+ # os: windows-latest
28+ # target: aarch64-pc-windows-msvc
29+ # - build: macos-x86
30+ # os: macos-latest
31+ # target: x86_64-apple-darwin
3832 - build : macos-aarch64
3933 os : macos-latest
4034 target : aarch64-apple-darwin
4135 runs-on : ${{ matrix.os }}
4236 steps :
4337 - uses : actions/checkout@v4
38+ - name : Install packages (Linux)
39+ if : runner.os == 'Linux'
40+ 41+ with :
42+ packages : libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev libgtk-3-dev # libgtk-3-dev is used by rfd
43+ version : 1.0
44+ execute_install_scripts : true
4445 - uses : actions/setup-java@v4
4546 with :
4647 distribution : " microsoft"
4748 java-version : " 21"
4849 cache : " gradle"
4950 - uses : gradle/actions/wrapper-validation@v3
50- - uses : houseabsolute/actions-rust-cross@v1
51+ - name : Install Rust
52+ uses : dtolnay/rust-toolchain@stable
5153 with :
52- command : build
53- target : ${{ matrix.target }}
54- args : " --locked --release "
55- strip : true
54+ toolchain : stable
55+ - uses : Swatinem/rust-cache@v2
56+ - run : rustup target add ${{ matrix.target }}
57+ - run : cargo build --release --target ${{ matrix.target }}
5658 - run : mv "target/${{ matrix.target }}/release/ornithe-installer-rs" "target/${{ matrix.target }}/release/ornithe-installer-rs.bin"
5759 if : runner.os != 'Windows'
5860 - uses : actions/upload-artifact@v4
0 commit comments