Update README.md #13
This file contains hidden or 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: 'Rebol-MathPresso CI' | |
on: | |
# Triggers the workflow on push or pull request events but only for the main branch | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
windows: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install Siskin Builder | |
uses: oldes/[email protected] | |
- name: Build 32bit MathPresso static library | |
run: ./siskin Rebol-MathPresso.nest static-lib-x86 | |
- name: Build 32bit Rebol/MathPresso extension | |
run: ./siskin Rebol-MathPresso.nest --msvc -o mathpresso-windows-x86.rebx mathpresso-windows-x86 | |
- name: Build 64bit MathPresso static library | |
run: ./siskin Rebol-MathPresso.nest static-lib-x64 | |
- name: Build 64bit Rebol/MathPresso extension | |
run: ./siskin Rebol-MathPresso.nest --msvc -o mathpresso-windows-x64.rebx mathpresso-windows-x64 | |
- name: Install Rebol for extension test | |
uses: oldes/[email protected] | |
- name: Minimal Rebol/MathPresso extension test | |
run: ./rebol3 ci-test.r3 | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Rebol-MathPresso-CI-${{github.run_id}} | |
path: ./mathpresso*.rebx | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install Siskin Builder | |
uses: oldes/[email protected] | |
- name: Build 64bit MathPresso static library | |
run: ./siskin Rebol-MathPresso.nest static-lib-x64 | |
- name: Build 64bit Rebol/MathPresso extension | |
run: ./siskin Rebol-MathPresso.nest -o mathpresso-linux-x64.rebx mathpresso-linux-x64 | |
- name: Install Rebol for extension test | |
uses: oldes/[email protected] | |
- name: Minimal Rebol/MathPresso extension test | |
run: ./rebol3 ci-test.r3 | |
- name: Compress 64bit Rebol/MathPresso extension | |
run: gzip -9 ./mathpresso-linux-x64.rebx | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Rebol-MathPresso-CI-${{github.run_id}} | |
path: ./mathpresso*.gz | |
macos: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install Siskin Builder | |
uses: oldes/[email protected] | |
- name: Build 64bit MathPresso static library | |
run: ./siskin Rebol-MathPresso.nest static-lib-x64 | |
- name: Build 64bit Rebol/MathPresso extension | |
run: ./siskin Rebol-MathPresso.nest -o mathpresso-macos-x64.rebx mathpresso-macos-x64 | |
- name: Install Rebol for extension test | |
uses: oldes/[email protected] | |
- name: Minimal Rebol/MathPresso extension test | |
run: ./rebol3 ci-test.r3 | |
- name: Compress 64bit Rebol/MathPresso extension | |
run: gzip -9 ./mathpresso-macos-x64.rebx | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Rebol-MathPresso-CI-${{github.run_id}} | |
path: ./mathpresso*.gz | |