cleanup workflows

This commit is contained in:
Zachary Snow 2020-03-30 21:41:13 -04:00
parent a38d49982a
commit 409f80ea83
2 changed files with 5 additions and 9 deletions

View File

@ -45,14 +45,14 @@ jobs:
- name: Install Dependencies (Linux)
if: runner.os == 'Linux'
run: sudo apt-get install -y shunit2 flex bison autoconf gperf
- name: Cache iverilog
- name: Cache iverilog (Linux)
uses: actions/cache@v1
if: runner.os == 'Linux'
with:
path: ~/.local
key: ${{ runner.OS }}-iverilog-10-3
restore-keys: ${{ runner.OS }}-iverilog-10-3
- name: Install iverilog
- name: Install iverilog (Linux)
if: runner.os == 'Linux'
run: |
if [ ! -e "$HOME/.local/bin/iverilog" ]; then
@ -70,10 +70,9 @@ jobs:
with:
name: ${{ runner.os }}
path: bin
- name: Mark Binary Executable
run: chmod +x bin/sv2v
- name: Test
run: |
chmod +x bin/sv2v
export PATH="$PATH:$HOME/.local/bin"
make test
@ -91,10 +90,8 @@ jobs:
name: ${{ matrix.name }}
path: sv2v-${{ matrix.name }}
- name: Mark Binary Executable
if: matrix.name == 'macOS' || matrix.name == 'Linux'
run: chmod +x */sv2v*
- name: Create ZIP
shell: bash
run: zip -r sv2v-${{ matrix.name }} ./sv2v-${{ matrix.name }}
- name: Upload Release Asset
uses: actions/upload-release-asset@v1.0.1

View File

@ -9,11 +9,10 @@ on:
- NOTICE
jobs:
notice:
runs-on: macOS-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Install Haskell Stack
run: brew install haskell-stack
- uses: mstksg/setup-stack@v2
- name: Regenerate NOTICE
run: ./notice.sh > NOTICE
- name: Validate NOTICE