move from UInt64 to UInt32, probably decrease in memory will mean inc… #108
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: Release | |
on: | |
push: | |
branches: | |
- "master" | |
workflow_dispatch: | |
jobs: | |
build_release: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
julia-version: ['1.8.5'] | |
julia-arch: [x64] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: julia-actions/setup-julia@v1 | |
with: | |
version: ${{ matrix.julia-version }} | |
- uses: julia-actions/julia-buildpkg@v1 | |
- name: "Setup artemis version" | |
run: echo "artemis=$(julia --project=. -e 'using Pkg; print(Pkg.TOML.parse(read("./Project.toml", String))["version"]);')" >> $GITHUB_ENV | |
- name: "Setup J version" | |
run: echo "jver=$(julia -e 'print(VERSION)')" >> $GITHUB_ENV | |
- name: "Setup artemis name" | |
run: echo "artemis_name=ARTEMIS_v${{ env.artemis }}-julia_v${{ env.jver }}_${{ matrix.julia-arch }}-${{ matrix.os }}" >> $GITHUB_ENV | |
- name: "Build" | |
run: ./build_standalone.sh --noprecompile | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ env.artemis_name }} | |
path: build/ | |
retention-days: 1 | |
release: | |
name: "Release" | |
needs: build_release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/download-artifact@v3 | |
- name: Display structure of downloaded files | |
run: ls -R | |
- name: tar.gz | |
run: find . -type d -maxdepth 1 -mindepth 1 -execdir tar -zcvf {}.tar.gz {} --xform='s!^\./!!' \; | |
- uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: "latest" | |
prerelease: false | |
title: "ARTEMIS" | |
files: | | |
./*.tar.gz |