mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #3521 from YosysHQ/ci_upgrade
Update versions of CI actions used
This commit is contained in:
commit
32808b26c6
|
@ -7,10 +7,10 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: mymindstorm/setup-emsdk@v11
|
- uses: mymindstorm/setup-emsdk@v11
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Cache sources
|
- name: Cache sources
|
||||||
id: cache-sources
|
id: cache-sources
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: .
|
path: .
|
||||||
key: cache-yosys
|
key: cache-yosys
|
||||||
|
@ -18,7 +18,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
make config-emcc
|
make config-emcc
|
||||||
make YOSYS_VER=latest
|
make YOSYS_VER=latest
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: yosysjs
|
name: yosysjs
|
||||||
path: yosysjs-latest.zip
|
path: yosysjs-latest.zip
|
||||||
|
|
|
@ -84,7 +84,7 @@ jobs:
|
||||||
$CXX --version
|
$CXX --version
|
||||||
|
|
||||||
- name: Checkout Yosys
|
- name: Checkout Yosys
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Get iverilog
|
- name: Get iverilog
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -93,7 +93,7 @@ jobs:
|
||||||
|
|
||||||
- name: Cache iverilog
|
- name: Cache iverilog
|
||||||
id: cache-iverilog
|
id: cache-iverilog
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: .local/
|
path: .local/
|
||||||
key: ${{ matrix.os.id }}-${{ hashFiles('iverilog/.git/refs/heads/master') }}
|
key: ${{ matrix.os.id }}-${{ hashFiles('iverilog/.git/refs/heads/master') }}
|
||||||
|
|
|
@ -35,7 +35,7 @@ jobs:
|
||||||
cc --version
|
cc --version
|
||||||
|
|
||||||
- name: Checkout Yosys
|
- name: Checkout Yosys
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Get iverilog
|
- name: Get iverilog
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -44,7 +44,7 @@ jobs:
|
||||||
|
|
||||||
- name: Cache iverilog
|
- name: Cache iverilog
|
||||||
id: cache-iverilog
|
id: cache-iverilog
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: .local/
|
path: .local/
|
||||||
key: ${{ matrix.os.id }}-${{ hashFiles('iverilog/.git/refs/heads/master') }}
|
key: ${{ matrix.os.id }}-${{ hashFiles('iverilog/.git/refs/heads/master') }}
|
||||||
|
|
|
@ -10,15 +10,15 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Take last commit
|
- name: Take last commit
|
||||||
id: log
|
id: log
|
||||||
run: echo "::set-output name=message::$(git log --no-merges -1 --oneline)"
|
run: echo "message=$(git log --no-merges -1 --oneline)" >> $GITHUB_OUTPUT
|
||||||
- name: Take repository
|
- name: Take repository
|
||||||
id: repo
|
id: repo
|
||||||
run: echo "::set-output name=message::$GITHUB_REPOSITORY"
|
run: echo "message=$GITHUB_REPOSITORY" >> $GITHUB_OUTPUT
|
||||||
- name: Bump version
|
- name: Bump version
|
||||||
if: "!contains(steps.log.outputs.message, 'Bump version') && contains(steps.repo.outputs.message, 'YosysHQ/yosys')"
|
if: "!contains(steps.log.outputs.message, 'Bump version') && contains(steps.repo.outputs.message, 'YosysHQ/yosys')"
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -6,16 +6,16 @@ jobs:
|
||||||
yosys-vcxsrc:
|
yosys-vcxsrc:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Cache sources
|
- name: Cache sources
|
||||||
id: cache-sources
|
id: cache-sources
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: .
|
path: .
|
||||||
key: cache-yosys
|
key: cache-yosys
|
||||||
- name: Build
|
- name: Build
|
||||||
run: make vcxsrc YOSYS_VER=latest
|
run: make vcxsrc YOSYS_VER=latest
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: vcxsrc
|
name: vcxsrc
|
||||||
path: yosys-win32-vcxsrc-latest.zip
|
path: yosys-win32-vcxsrc-latest.zip
|
||||||
|
@ -24,7 +24,7 @@ jobs:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
needs: yosys-vcxsrc
|
needs: yosys-vcxsrc
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: vcxsrc
|
name: vcxsrc
|
||||||
path: .
|
path: .
|
||||||
|
|
Loading…
Reference in New Issue