chore: build plugin success #7
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: Cross Build On Linux | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
call-rust-build: | |
uses: ./.github/workflows/build.yaml | |
test-artifacts: | |
name: Test Artifacts | |
needs: [call-rust-build] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check Artifacts | |
run: | | |
for abi in linux-x64-gnu linux-x64-musl darwin-x64 win32-x64-msvc linux-arm64-musl linux-arm64-gnu darwin-arm64 win32-ia32-msvc win32-arm64-msvc | |
do | |
mv /tmp/artifacts/${{ github.sha }}-${abi}/* ./npm/${abi} | |
test -f ./npm/${abi}/index.farm | |
done | |
- name: Test Example | |
run: cd example && pnpm i && pnpm build |