Skip to content

Commit

Permalink
Disable windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
outkine committed Jan 15, 2024
1 parent bac8cc4 commit e26d630
Showing 1 changed file with 27 additions and 30 deletions.
57 changes: 27 additions & 30 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,36 @@
on:
release:
types: [created]
push:
branches:
- master

env:
CARGO_TERM_COLOR: always

jobs:
compile_windows:
runs-on: ubuntu-latest

steps:
- run: curl https://get.wasmer.io -sSfL | sh

- uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- run: aws s3 sync s3://${{ secrets.S3_BUCKET_PUBLIC }}/lang-runners lang-runners

- name: Compile windows runners
run: |
source ~/.wasmer/wasmer.sh
for runner in lang-runners/*.wasm; do
wasmer compile --target x86_64-pc-windows-msvc --llvm "$runner" -o "${runner/.wasm/.wjit}"
rm "$runner"
done
- uses: actions/upload-artifact@v2
with:
name: windows-runners
path: lang-runners/
# compile_windows:
# runs-on: ubuntu-latest

# steps:
# - run: curl https://get.wasmer.io -sSfL | sh

# - uses: aws-actions/configure-aws-credentials@v1
# with:
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# aws-region: us-east-1
# - run: aws s3 sync s3://${{ secrets.S3_BUCKET_PUBLIC }}/lang-runners lang-runners

# - name: Compile windows runners
# run: |
# source ~/.wasmer/wasmer.sh
# for runner in lang-runners/*.wasm; do
# wasmer compile --target x86_64-pc-windows-msvc --llvm "$runner" -o "${runner/.wasm/.wjit}"
# rm "$runner"
# done

# - uses: actions/upload-artifact@v2
# with:
# name: windows-runners
# path: lang-runners/

build:
needs: compile_windows
Expand All @@ -46,8 +43,8 @@ jobs:
cargoargs: --features build-llvm
- os: macos-latest
cargoargs: --features build-llvm
- os: windows-latest
cargoargs: ''
# - os: windows-latest
# cargoargs: ''

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit e26d630

Please sign in to comment.