From: Jérémie Astor Date: Fri, 2 Apr 2021 10:57:06 +0000 (+0200) Subject: :wrench: test nightly X-Git-Tag: nightly~793 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=942efa71c6bf3f957a3e0aa34934e56ef20dc617;p=gwion.git :wrench: test nightly --- diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml new file mode 100644 index 00000000..2d76cede --- /dev/null +++ b/.github/workflows/nightly.yml @@ -0,0 +1,43 @@ +name: Cffi Nightly + +on: + push: + branches: + - 'main' + +jobs: + nightly: + name: Deploy nightly + strategy: + fail-fast: false + matrix: +# os: [ubuntu-latest, windows-latest, macOS-latest] + os: [ubuntu-latest] + runs-on: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v2 + + - name: SubModules + run: git submodule update --init --recursive util ast libcmdapp + + - name: Build + run: make + env: + USE_LTO: 1 + + - name: build asset + run: | + 7z a gwion-nightly.zip gwion + + - name: Deploy release + uses: WebFreak001/deploy-nightly@v1.1.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: https://uploads.github.com/repos/Gwion/Gwion/releases/40867029/assets{?name,label} + release_id: 40867029 # same as above (id can just be taken out the upload_url, it's used to find old releases) + asset_path: ./gwion-nightly.zip # path to archive to upload + asset_name: gwion-nightly-${{matrix.os}}-$$.zip # name to upload the release as, use $$ to insert date (YYYYMMDD) and 6 letter commit hash + asset_content_type: application/zip # required by GitHub API + max_releases: 7 # optional, if there are more releases than this matching the asset_name, the oldest ones are going to be deleted