File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 4242 run : |
4343 mdbook build
4444 working-directory : book
45- - uses : actions/upload-artifact@v3
45+ - uses : actions/upload-artifact@v4
4646 with :
4747 name : book
4848 path : book/book
5353 needs : book
5454 if : github.event_name == 'push'
5555 steps :
56- - uses : actions/download-artifact@v3
56+ - uses : actions/download-artifact@v4
5757 with :
5858 name : book
5959 - uses : peaceiris/actions-gh-pages@v3
Original file line number Diff line number Diff line change 2929 dir : osx64
3030 arch : darwin-arm64
3131 artifacts : " plc"
32- RUSTFLAGS : " "
32+ RUSTFLAGS : " -C link-args=-Wl,-ld_classic "
3333 libvm : " libvm.a"
3434 libvm_dylib : " libvm.dylib"
3535 libuv_dylib : " libuv.dylib"
8383 - name : Cargo build
8484 env :
8585 RUSTFLAGS : ${{ matrix.config.RUSTFLAGS }}
86- run : cargo build --release
86+ run : |
87+ cargo build --release
88+ - if : ${{ matrix.config.os == 'macos-14' }}
89+ name : rpath trick
90+ env :
91+ RUSTFLAGS : ${{ matrix.config.RUSTFLAGS }}
92+ run : |
93+ install_name_tool -change @rpath/libc++.1.dylib /usr/lib/libc++.1.dylib ./target/release/plc
8794
8895 - run : mkdir -p ${{ matrix.config.dir }}
8996
You can’t perform that action at this time.
0 commit comments