Skip to content

Commit

Permalink
zig-linux-x86_64-0.12.0-dev.1861+412999621.tar.xz
Browse files Browse the repository at this point in the history
  • Loading branch information
phoepsilonix committed Jan 1, 2024
1 parent c016815 commit 19c3f74
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
RUSTC_WRAPPER: sccache
SCCACHE_CACHE_SIZE: 1G
SCCACHE_DIR: /home/runner/.cache/sccache
#SCCACHE_RECACHE: 1 # Uncomment this to clear cache, then comment
SCCACHE_RECACHE: 1 # Uncomment this to clear cache, then comment
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -25,8 +25,8 @@ jobs:
sudo apt-get install build-essential make git clang
rm -f ~/.cargo/config*
mkdir -p zig
curl -LZ https://ziglang.org/builds/zig-linux-x86_64-0.12.0-dev.1856+94c63f31f.tar.xz|tar xJ --strip-component=1 -C zig
sudo mv zig /usr/local/zig
curl -LZ https://ziglang.org/builds/zig-linux-x86_64-0.12.0-dev.1861+412999621.tar.xz|tar xJ --strip-component=1 -C zig
sudo mv zig /usr/local/
echo "/usr/local/zig" >> $GITHUB_PATH
- name: Install sccache
env:
Expand All @@ -51,21 +51,22 @@ jobs:
rustup update nightly
rustup default nightly
rustup component add rust-src
rustup override set nightly
rustup target add $(cat target.txt)
rustup +stable target add $(cat target.txt)
- name: Install cargo-zigbuild
run: |
cargo install cargo-zigbuild
cargo install cargo-zigbuild --target x86_64-unknown-linux-gnu
- name: config.toml
run: |
mkdir -p ~/.cargo/
rm -f ~/.cargo/config*
cp config.toml ~/.cargo/config.toml
- name: fix duplicate symbol
run: |
sudo sed -e "s|@export(___chkstk_ms|//@export(___chkstk_ms|" -i /usr/local/zig/lib/compiler_rt/stack_probe.zig
sudo sed -e "/@export(___chkstk_ms/d" -i /usr/local/zig/lib/compiler_rt/stack_probe.zig
- name: Build and archive
shell: bash
run: |
mkdir -p ~/.cargo/
rm -f ~/.cargo/config*
cp config.toml ~/.cargo/config.toml
cargo update
make target-archive
- name: Create release
Expand Down

0 comments on commit 19c3f74

Please sign in to comment.