Skip to content

Commit

Permalink
Build
Browse files Browse the repository at this point in the history
  • Loading branch information
outkine committed Mar 25, 2024
1 parent b0dd09a commit 3532d4c
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,31 @@ 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 @@ -51,10 +51,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - id: get_release
# uses: bruceadams/[email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/cache@v2
with:
Expand Down

0 comments on commit 3532d4c

Please sign in to comment.