Skip to content

Commit

Permalink
disable FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
drkameleon authored Jan 18, 2024
1 parent 55db4f8 commit a8de1ad
Showing 1 changed file with 52 additions and 52 deletions.
104 changes: 52 additions & 52 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,65 +95,65 @@ jobs:
name: ${{ env.app-name }}-${{ steps.versionNumber.outputs.text }}-${{ steps.currentDate.outputs.text }}-${{runner.os}}-${{matrix.version}}.tar.gz
path: ${{ env.app-name }}-${{ steps.versionNumber.outputs.text }}-${{ steps.currentDate.outputs.text }}-${{runner.os}}-${{matrix.version}}.tar.gz

freebsd:
name: "Package FreeBSD"
runs-on: macos-10.15
strategy:
matrix:
os:
- freebsd-latest
version:
- mini
# freebsd:
# name: "Package FreeBSD"
# runs-on: macos-10.15
# strategy:
# matrix:
# os:
# - freebsd-latest
# version:
# - mini

steps:
- name: "Cancel similar actions in progress"
uses: styfle/cancel-workflow-action@0.6.0
with:
access_token: ${{ github.token }}
# steps:
# - name: "Cancel similar actions in progress"
# uses: styfle/cancel-workflow-action@0.6.0
# with:
# access_token: ${{ github.token }}

- name: "Checkout"
uses: actions/checkout@main
with:
repository: arturo-lang/arturo
submodules: recursive
# - name: "Checkout"
# uses: actions/checkout@main
# with:
# repository: arturo-lang/arturo
# submodules: recursive

- name: "Get version"
uses: pCYSl5EDgo/cat@master
id: versionNumber
with:
path: version/version
trim: true
# - name: "Get version"
# uses: pCYSl5EDgo/cat@master
# id: versionNumber
# with:
# path: version/version
# trim: true

- name: Get current date
run: echo $(date -u "+%F") >> currentDate
# - name: Get current date
# run: echo $(date -u "+%F") >> currentDate

- name: "Read date"
uses: pCYSl5EDgo/cat@master
id: currentDate
with:
path: currentDate
trim: true
# - name: "Read date"
# uses: pCYSl5EDgo/cat@master
# id: currentDate
# with:
# path: currentDate
# trim: true

- name: Setup environment & Build Arturo
id: test
uses: vmactions/freebsd-vm@v0.1.5
with:
usesh: true
prepare: pkg install -y nim gmp mpfr bash databases/sqlite3
run: |
./build.nims --mode ${{ matrix.version }} --arch ${{ matrix.arch }} --install --log
export PATH="$HOME/.arturo/bin:$PATH"
# - name: Setup environment & Build Arturo
# id: test
# uses: vmactions/freebsd-vm@v0.1.5
# with:
# usesh: true
# prepare: pkg install -y nim gmp mpfr bash databases/sqlite3
# run: |
# ./build.nims --mode ${{ matrix.version }} --arch ${{ matrix.arch }} --install --log
# export PATH="$HOME/.arturo/bin:$PATH"

- name: Create artifact
run: |
install -m 0755 ./bin/${{ env.app-name }} .
tar czf ${{ env.app-name }}-${{ steps.versionNumber.outputs.text }}-${{ steps.currentDate.outputs.text }}-FreeBSD-${{matrix.version}}.tar.gz ${{ env.app-name }} README.md LICENSE
# - name: Create artifact
# run: |
# install -m 0755 ./bin/${{ env.app-name }} .
# tar czf ${{ env.app-name }}-${{ steps.versionNumber.outputs.text }}-${{ steps.currentDate.outputs.text }}-FreeBSD-${{matrix.version}}.tar.gz ${{ env.app-name }} README.md LICENSE

- name: Upload Artifact
uses: 'actions/upload-artifact@v1'
with:
name: ${{ env.app-name }}-${{ steps.versionNumber.outputs.text }}-${{ steps.currentDate.outputs.text }}-FreeBSD-${{matrix.version}}.tar.gz
path: ${{ env.app-name }}-${{ steps.versionNumber.outputs.text }}-${{ steps.currentDate.outputs.text }}-FreeBSD-${{matrix.version}}.tar.gz
# - name: Upload Artifact
# uses: 'actions/upload-artifact@v1'
# with:
# name: ${{ env.app-name }}-${{ steps.versionNumber.outputs.text }}-${{ steps.currentDate.outputs.text }}-FreeBSD-${{matrix.version}}.tar.gz
# path: ${{ env.app-name }}-${{ steps.versionNumber.outputs.text }}-${{ steps.currentDate.outputs.text }}-FreeBSD-${{matrix.version}}.tar.gz

windows:
name: "Package Windows"
Expand Down Expand Up @@ -349,7 +349,7 @@ jobs:
if: ${{ always() }}
needs:
- unix
- freebsd
#- freebsd
- windows
# - msys2
# - web
Expand Down

0 comments on commit a8de1ad

Please sign in to comment.