Test FreeBSD Action #7
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 FreeBSD Action | |
on: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: A job to run test in FreeBSD | |
env: | |
# MYTOKEN : ${{ secrets.MYTOKEN }} | |
MYTOKEN2: "value2" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Test in FreeBSD | |
id: test | |
uses: vmactions/freebsd-vm@v1 | |
with: | |
envs: 'MYTOKEN2' | |
usesh: true | |
prepare: | | |
pkg install -y curl git | |
run: | | |
pwd | |
ls -lah | |
whoami | |
env | |
freebsd-version | |
curl -L -S https://github.com/Siskin-framework/Builder/releases/download/0.13.0/siskin-freebsd-x86_64.gz --output siskin.gz | |
gunzip ./siskin.gz | |
chmod u+x ./siskin | |
./siskin rebol %rebol3-bulk-freebsd-x64 | |
mv ./tree/rebol/Rebol/build/rebol3-bulk-freebsd-x64 ./rebol3-bulk-freebsd-x64 | |
./rebol3-bulk-freebsd-x64 siskin.r3 rebol/siskin 2 | |
mv ./tree/rebol/Siskin/build/siskin-freebsd-x86_64 ./siskin-freebsd-x86_64 | |
- name: Prepare build results | |
run: | | |
gzip -9 ./rebol3-bulk-freebsd-x64 | |
gzip -9 ./siskin-freebsd-x86_64 | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Rebol-FreeBSD-${{github.run_id}} | |
path: ./rebol3*.gz | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Siskin-FreeBSD-${{github.run_id}} | |
path: ./siskin*.gz |