diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d8d647b..d594209 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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" @@ -349,7 +349,7 @@ jobs: if: ${{ always() }} needs: - unix - - freebsd + #- freebsd - windows # - msys2 # - web