diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2021-05-09 13:13:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-09 13:13:05 +0200 |
| commit | b868f16dd6b96a3a85d6d1baca34d7eea20000f0 (patch) | |
| tree | e4af639688e6a904a03eeb661c615117f588d8fe /.github/workflows/nightly.yml | |
| parent | ea6ae1ab3333e42778e1cf4663dd62e2666ecbdf (diff) | |
add gnu linux 64 build
Diffstat (limited to '.github/workflows/nightly.yml')
| -rw-r--r-- | .github/workflows/nightly.yml | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 1533069..e912125 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -6,6 +6,31 @@ on: schedule: - cron: 0 20 * * * jobs: + dist-x86_64-unknown-linux-gnu: + timeout-minutes: 30 + runs-on: ubuntu-16.04 + steps: + - uses: actions/checkout@v1 + - name: Download LLVM + run: sudo apt-get install llvm-11 clang-11 llvm + - name: Download Odin + run: git clone https://github.com/odin-lang/Odin + - name: Build Odin + run: | + cd Odin + make release + - name: Build ols + run: ./build.sh CI + - name: Move to Dist + run: | + mkdir dist + mv ols dist/ols-x86_64-unknown-linux-gnu + - name: Upload artifacts + uses: actions/upload-artifact@v1 + with: + name: dist-x86_64-unknown-linux-gnu + path: ./dist + dist-x86_64-pc-windows-msvc: timeout-minutes: 30 runs-on: windows-latest @@ -64,14 +89,17 @@ jobs: - uses: actions/download-artifact@v1 with: + name: dist-x86_64-unknown-linux-gnu + path: dist + - uses: actions/download-artifact@v1 + with: name: dist-x86_64-pc-windows-msvc path: dist - run: | ls -al ./dist cd dist zip -r ols-x86_64-pc-windows-msvc.zip ols-x86_64-pc-windows-msvc.exe builtin - rm -rf builtin - + zip -r ols-x86_64-unknown-linux-gnu.zip ols-x86_64-unknown-linux-gnu builtin - name: Publish Release uses: ./.github/actions/github-release with: |