fix archiving #200
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: iOS build | |
on: | |
push: | |
workflow_dispatch: | |
env: | |
DEPOT_TOOLS_UPDATE: 0 | |
jobs: | |
build: | |
runs-on: macos-11 | |
env: | |
NO_INTL: false | |
NO_JIT: true | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Export settings from npm package | |
run: | | |
npm run export_npm_env | |
- name: Setup V8 build environment | |
run: | | |
brew install coreutils ninja | |
scripts/setup.sh -r ${V8_VERSION} ios | |
- name: Patch V8 | |
run: | | |
scripts/patch.sh ios | |
- name: Build V8 | |
run: | | |
scripts/build.sh ios | |
scripts/archive.sh ios | |
tar -cvf dist.tar dist | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: dist | |
path: dist.tar |