forked from myhdl/myhdl
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (42 loc) · 1.18 KB
/
test_environment.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Check cached Setup
on:
#push:
schedule:
- cron: '0 1 * * *'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build_ghdl:
uses: ./.github/workflows/setup_ghdl.yml
check_ghdl:
runs-on: ubuntu-latest
needs: build_ghdl
steps:
- name: Cache GHDL
uses: actions/cache@v3
with:
path: ${{ needs.build_ghdl.outputs.cache_dir }}
key: ${{ needs.build_ghdl.outputs.cache_key }}
- name: Add to PATH
run: |
echo "${{ needs.build_ghdl.outputs.cache_dir }}/bin" >> $GITHUB_PATH
- name: Report GHDL
run: |
which ghdl
build_iverilog:
uses: ./.github/workflows/setup_iverilog.yml
check_iverilog:
runs-on: ubuntu-latest
needs: build_iverilog
steps:
- name: Cache Icarus
uses: actions/cache@v3
with:
path: ${{ needs.build_iverilog.outputs.cache_dir }}
key: ${{ needs.build_iverilog.outputs.cache_key }}
- name: Add to PATH
run: |
echo "${{ needs.build_iverilog.outputs.cache_dir }}/bin" >> $GITHUB_PATH
- name: Report Icarus
run: |
which iverilog