Skip to content

CHANGE: enable JIT on macOS (required by Blend2D drawing extension) #886

CHANGE: enable JIT on macOS (required by Blend2D drawing extension)

CHANGE: enable JIT on macOS (required by Blend2D drawing extension) #886

Workflow file for this run

name: 'Rebol CI'
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
paths:
- make/**
- src/**
- .github/workflows/main.yml
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
#workflow_dispatch:
jobs:
windows:
strategy:
fail-fast: true
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Siskin Builder
uses: oldes/install-siskin@v0.13.0
- name: Build 64bit Rebol/Bulk using MSVC
run: ./siskin.exe make/rebol3.nest --msvc %rebol3-bulk-windows-x64
- name: Prepare 64bit Rebol/Bulk for upload
run: MOVE ./msvc/Release-x64/rebol3-bulk-windows-x64.exe ./rebol3-bulk-windows-x64.exe
- name: Build 64bit test extension using MSVC
run: ./siskin.exe make/rebol3.nest --msvc %test-x64.rebx
- name: Prepare 64bit test extension
run: MOVE ./msvc/Release-x64/test-x64.rebx.dll ./test-x64.rebx
- name: Test 64bit Rebol/Bulk
run: ./rebol3-bulk-windows-x64.exe -s ./src/tests/run-tests.r3
- name: Test Rebol/SQLite extension
run: ./rebol3-bulk-windows-x64.exe -s ./src/tests/test-extension-sqlite.r3
- name: Test Rebol/Blend2D extension
run: ./rebol3-bulk-windows-x64.exe -s ./src/tests/test-extension-blend2d.r3
- name: Test Rebol/Triangulate extension
run: ./rebol3-bulk-windows-x64.exe -s ./src/tests/test-extension-triangulate.r3
###############################################################################
# Collecting build artifacts...
- uses: actions/upload-artifact@v3
with:
name: Rebol-CI-${{github.run_id}}
path: ./rebol3-*.exe
linux:
strategy:
fail-fast: true
matrix:
os: [ubuntu-20.04]
#os: [ubuntu-20.04, ubuntu-18.04]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Siskin Builder
uses: oldes/install-siskin@v0.13.0
- name: Build 64bit Rebol/Bulk using gcc
run: ./siskin make/rebol3.nest %rebol3-bulk-linux-x64
- name: Build 64bit test extension using gcc
run: |
./siskin make/rebol3.nest %test-x64.rebx
cp ./build/test-x64.rebx ./src/tests/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/$PWD/src/tests/
- name: Test 64bit Rebol/Bulk
run: ./build/rebol3-bulk-linux-x64 -s ./src/tests/run-tests.r3
- name: Test Rebol/SQLite extension
run: ./build/rebol3-bulk-linux-x64 -s ./src/tests/test-extension-sqlite.r3
- name: Test Rebol/Blend2D extension
run: ./build/rebol3-bulk-linux-x64 -s ./src/tests/test-extension-blend2d.r3
- name: Test Rebol/Triangulate extension
run: ./build/rebol3-bulk-linux-x64 -s ./src/tests/test-extension-triangulate.r3
- name: Prepare 64bit Rebol/Bulk for upload
run: |
mv ./build/rebol3-bulk-linux-x64 ./rebol3-bulk-linux-x64
gzip -9 ./rebol3-bulk-linux-x64
#- name: Build 64bit Rebol/Bulk using clang
# run: |
# ./siskin make/rebol3.nest %rebol3-bulk-x64-libc-clang
# mv ./build/rebol3-bulk-x64-libc-clang ./rebol3-bulk-x64-libc-clang
# gzip -9 ./rebol3-bulk-x64-libc-clang
- uses: actions/upload-artifact@v3
with:
name: Rebol-CI-${{github.run_id}}
path: ./rebol3-*.gz
macos:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Siskin Builder
uses: oldes/install-siskin@v0.13.0
- name: Build 64bit Rebol/Bulk using clang
run: ./siskin make/rebol3.nest %rebol3-bulk-macos-x64
- name: Build 64bit test extension
run: |
./siskin make/rebol3.nest %test-x64.rebx
cp ./build/test-x64.rebx ./src/tests/
- name: Test 64bit Rebol/Bulk
run: ./build/rebol3-bulk-macos-x64 -s ./src/tests/run-tests.r3
- name: Test Rebol/SQLite extension
run: ./build/rebol3-bulk-macos-x64 -s ./src/tests/test-extension-sqlite.r3
- name: Test Rebol/Blend2D extension
run: ./build/rebol3-bulk-macos-x64 -s ./src/tests/test-extension-blend2d.r3
- name: Test Rebol/Triangulate extension
run: ./build/rebol3-bulk-macos-x64 -s ./src/tests/test-extension-triangulate.r3
- name: Prepare 64bit Rebol/Bulk for upload
run: |
mv ./build/rebol3-bulk-macos-x64 ./rebol3-bulk-macos-x64
gzip -9 ./rebol3-bulk-macos-x64
- uses: actions/upload-artifact@v3
with:
name: Rebol-CI-${{github.run_id}}
path: ./rebol3-*.gz