File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1717 build : [linux, windows, mac]
1818 include :
1919 - build : linux
20- os : buildjet-8vcpu- ubuntu-2204
20+ os : ubuntu-latest
2121 rust : " stable"
2222 - build : windows
2323 os : windows-latest
2929
3030 steps :
3131 - uses : actions/checkout@v4
32+ - name : Install system packages
33+ if : runner.os == 'Linux'
34+ run : sudo apt-get install libglib2.0-dev
3235 - name : Install Rust
3336 uses : dtolnay/rust-toolchain@stable
3437 with :
4144 - name : Upload a Build Artifact
4245 uses : actions/upload-artifact@v4
4346 with :
44- name : CI builds
45- path : target/**/ornithe-installer-rs
47+ name : CI builds (${{ matrix.build }})
48+ path : |
49+ target/**/ornithe-installer-rs*
Original file line number Diff line number Diff line change @@ -68,8 +68,7 @@ pub async fn install(
6868 zip. start_file ( "instance.cfg" , SimpleFileOptions :: default ( ) ) ?;
6969 let mut instance_cfg = INSTANCE_CONFIG . replace ( "${mc_version}" , & version. id ) ;
7070
71- #[ cfg( any( unix) ) ]
72- {
71+ if cfg ! ( all( any( unix) , not( target_os = "macos" ) ) ) {
7372 instance_cfg += "\n OverrideCommands=true\n WrapperCommand=env __GL_THREADED_OPTIMIZATIONS=0" ;
7473 }
7574
You can’t perform that action at this time.
0 commit comments