Test DragonFlyBSD Action #11
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 DragonFlyBSD Action | |
on: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: A job to run test in DragonFlyBSD | |
env: | |
# MYTOKEN : ${{ secrets.MYTOKEN }} | |
MYTOKEN2: "value2" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Test in DragonFlyBSD | |
id: test | |
uses: vmactions/dragonflybsd-vm@v1 | |
with: | |
envs: 'MYTOKEN2' | |
usesh: true | |
prepare: | | |
pkg install -y llvm16 libnghttp2 git libiconv | |
run: | | |
ln -s /usr/local/bin/clang16 /usr/local/bin/clang | |
clang --version | |
echo "Rebol [] unprotect 'system/platform system/platform: 'DragonFlyBSD" > ~/user.reb | |
cat ~/user.reb | |
cd .. | |
git clone -b bootstrap https://github.com/Siskin-framework/Rebol.git --depth 1 | |
cd ./Rebol/make/ | |
make -f rebol-bsd-bootstrap-64bit.mk | |
mv ./rebol-bsd-bootstrap-64bit ../../Builder/r3 | |
cd ../../Builder | |
./r3 siskin.r3 rebol -d rebol3-bulk-dragonflybsd-x64 | |
mv ./tree/rebol/Rebol/build/rebol3-bulk-dragonflybsd-x64 ./rebol3-bulk-dragonflybsd-x64 | |
./rebol3-bulk-dragonflybsd-x64 siskin.r3 -d rebol/siskin 2 | |
mv ./tree/rebol/Siskin/build/siskin-dragonflybsd-x86_64 ./siskin-dragonflybsd-x86_64 | |
- name: Prepare build results | |
run: | | |
gzip -9 ./rebol3-bulk-dragonflybsd-x64 | |
gzip -9 ./siskin-dragonflybsd-x86_64 | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Rebol-DragonFlyBSD-${{github.run_id}} | |
path: ./rebol3*.gz | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Siskin-DragonFlyBSD-${{github.run_id}} | |
path: ./siskin*.gz |