[ci] macOS build scripts improvement, revert to 10.15 min for MacIntel #214
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: WASM | |
on: push | |
jobs: | |
wasm: | |
name: WebAssembly | |
runs-on: ubuntu-latest | |
container: | |
image: archlinux:latest | |
steps: | |
- name: Install git | |
run: | | |
pacman -Syy --noconfirm | |
pacman -S glibc --noconfirm | |
pacman -S git --noconfirm | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
persist-credentials: false | |
fetch-depth: 0 | |
- name: Dependencies | |
run: | | |
./ci/wasm.deps.sh | |
- name: Build | |
run: | | |
./ci/wasm.build.sh | |
- name: Deploy | |
run: | | |
./ci/wasm.deploy.sh | |
- name: Push changes | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.API_TOKEN_GITHUB }} | |
branch: 'main' | |
force: true | |
directory: './site' | |
repository: 'ossia/score-web' |