diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 56af7e9..5c7a015 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -10,10 +10,8 @@ on: workflow_dispatch: jobs: - build: - + mac-build: runs-on: macos-latest - steps: - uses: actions/checkout@v2 - name: make @@ -31,9 +29,34 @@ jobs: # GitHub auth token repo_token: ${{ secrets.GITHUB_TOKEN }} # Name of Release to add file to - title: macOS Nightly build + title: Nightly builds # Name of the tag for the release (will be associated with current branch) automatic_release_tag: next # File to release files: nasal-mac-nightly.tgz - + + linux-x86_64-build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: make + run: | + make + cd module + make all + cd .. + tar -czf nasal-mac-nightly.tgz . + - name: Release file + # You may pin to the exact commit or the version. + # uses: djnicholson/release-action@e9a535b3eced09c460e07a84118fb74ae9b53236 + uses: marvinpinto/action-automatic-releases@v1.2.1 + with: + # GitHub auth token + repo_token: ${{ secrets.GITHUB_TOKEN }} + # Name of Release to add file to + title: Nightly build + # Name of the tag for the release (will be associated with current branch) + automatic_release_tag: next + # File to release + files: nasal-linux-x86_64-nightly.tgz +