cpp-vm: add a makefile just for launching cmake; add release-cpp targ… #221
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: CI | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the master branch | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
permissions: | |
contents: read | |
actions: read | |
checks: write | |
jobs: | |
build: | |
name: Build and Test bootstrap - ${{matrix.go-version}} ${{matrix.os}} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, windows-latest, ubuntu-latest] | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v3 | |
- name: Fetch at least 2 commits so that Iceberg doesn't break | |
run: git fetch --unshallow | |
- name: Compile | |
run: make -C runtime/pharo | |
- name: Run tests | |
run: make -C runtime/pharo/ test-ci | |
- name: Attach the report | |
if: always() && matrix.os == 'ubuntu-latest' # run this step even if previous step failed (only on ubuntu) | |
uses: actions/upload-artifact@v3 | |
with: | |
name: test-results | |
path: runtime/pharo/test-reports/Powerlang-Tests-Test.xml | |
- name: Test Report | |
uses: dorny/test-reporter@v1 | |
if: always() && matrix.os == 'ubuntu-latest' | |
with: | |
name: SUnit Test Report # Name of the check run which will be created | |
path: runtime/pharo/test-reports/*.xml # Path to test results | |
reporter: java-junit # Format of test results | |
fail-on-error: true | |