Commit 409f80ea by Zachary Snow

cleanup workflows

parent a38d4998
...@@ -45,14 +45,14 @@ jobs: ...@@ -45,14 +45,14 @@ jobs:
- name: Install Dependencies (Linux) - name: Install Dependencies (Linux)
if: runner.os == 'Linux' if: runner.os == 'Linux'
run: sudo apt-get install -y shunit2 flex bison autoconf gperf run: sudo apt-get install -y shunit2 flex bison autoconf gperf
- name: Cache iverilog - name: Cache iverilog (Linux)
uses: actions/cache@v1 uses: actions/cache@v1
if: runner.os == 'Linux' if: runner.os == 'Linux'
with: with:
path: ~/.local path: ~/.local
key: ${{ runner.OS }}-iverilog-10-3 key: ${{ runner.OS }}-iverilog-10-3
restore-keys: ${{ runner.OS }}-iverilog-10-3 restore-keys: ${{ runner.OS }}-iverilog-10-3
- name: Install iverilog - name: Install iverilog (Linux)
if: runner.os == 'Linux' if: runner.os == 'Linux'
run: | run: |
if [ ! -e "$HOME/.local/bin/iverilog" ]; then if [ ! -e "$HOME/.local/bin/iverilog" ]; then
...@@ -70,10 +70,9 @@ jobs: ...@@ -70,10 +70,9 @@ jobs:
with: with:
name: ${{ runner.os }} name: ${{ runner.os }}
path: bin path: bin
- name: Mark Binary Executable
run: chmod +x bin/sv2v
- name: Test - name: Test
run: | run: |
chmod +x bin/sv2v
export PATH="$PATH:$HOME/.local/bin" export PATH="$PATH:$HOME/.local/bin"
make test make test
...@@ -91,10 +90,8 @@ jobs: ...@@ -91,10 +90,8 @@ jobs:
name: ${{ matrix.name }} name: ${{ matrix.name }}
path: sv2v-${{ matrix.name }} path: sv2v-${{ matrix.name }}
- name: Mark Binary Executable - name: Mark Binary Executable
if: matrix.name == 'macOS' || matrix.name == 'Linux'
run: chmod +x */sv2v* run: chmod +x */sv2v*
- name: Create ZIP - name: Create ZIP
shell: bash
run: zip -r sv2v-${{ matrix.name }} ./sv2v-${{ matrix.name }} run: zip -r sv2v-${{ matrix.name }} ./sv2v-${{ matrix.name }}
- name: Upload Release Asset - name: Upload Release Asset
uses: actions/upload-release-asset@v1.0.1 uses: actions/upload-release-asset@v1.0.1
......
...@@ -9,11 +9,10 @@ on: ...@@ -9,11 +9,10 @@ on:
- NOTICE - NOTICE
jobs: jobs:
notice: notice:
runs-on: macOS-latest runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Install Haskell Stack - uses: mstksg/setup-stack@v2
run: brew install haskell-stack
- name: Regenerate NOTICE - name: Regenerate NOTICE
run: ./notice.sh > NOTICE run: ./notice.sh > NOTICE
- name: Validate NOTICE - name: Validate NOTICE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment