Use the booster backend and small improvements. #48
Workflow file for this run
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: 'Test' | |
on: | |
pull_request: | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test-pr: | |
name: 'Build and Test kmxwasm' | |
runs-on: [self-hosted, linux, normal] | |
steps: | |
- name: 'Check out code' | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.JENKINS_GITHUB_PAT }} | |
submodules: recursive | |
- name: 'Set up Docker' | |
uses: ./.github/actions/with-docker | |
with: | |
container-name: elrond-wasm-ci-${{ github.sha }} | |
- name: 'Install dependencies' | |
run: docker exec --user user elrond-wasm-ci-${GITHUB_SHA} poetry -C kmxwasm install | |
- name: 'Check code quality' | |
run: docker exec --user user elrond-wasm-ci-${GITHUB_SHA} make -C kmxwasm check | |
- name: 'Run unit tests' | |
run: docker exec --user user elrond-wasm-ci-${GITHUB_SHA} make -C kmxwasm test-unit | |
# - name: 'Build LLVM semantics' | |
# run: docker exec --user user elrond-wasm-ci-${GITHUB_SHA} make -C kmxwasm kbuild-llvm | |
- name: 'Build Haskell semantics' | |
run: docker exec --user user elrond-wasm-ci-${GITHUB_SHA} make -C kmxwasm kbuild-haskell | |
- name: 'Run integration tests' | |
run: docker exec --user user elrond-wasm-ci-${GITHUB_SHA} make -C kmxwasm test-integration | |
- name: 'Tear down Docker' | |
if: always() | |
run: docker stop --time 0 elrond-wasm-ci-${GITHUB_SHA} |