File tree Expand file tree Collapse file tree 4 files changed +89
-7
lines changed Expand file tree Collapse file tree 4 files changed +89
-7
lines changed Original file line number Diff line number Diff line change 1+ # Copyright (C) 2022 F4PGA Authors.
2+ #
3+ # Use of this source code is governed by a ISC-style
4+ # license that can be found in the LICENSE file or at
5+ # https://opensource.org/licenses/ISC
6+ #
7+ # SPDX-License-Identifier:ISC
8+
9+ name : update_conda_lock
10+
11+ on :
12+ push :
13+ pull_request :
14+ schedule :
15+ - cron : ' 0 3 * * *'
16+ workflow_dispatch :
17+
18+ jobs :
19+ update-locks :
20+ runs-on : ubuntu-18.04
21+ strategy :
22+ fail-fast : false
23+ steps :
24+ - name : Checkout Repository
25+ uses : actions/checkout@v3
26+ with :
27+ fetch-depth : 0
28+ submodules : ' recursive'
29+ ssh-key : ${{ secrets.SSH_DEPLOY_KEY }}
30+
31+ - name : Update Conda Lock
32+ uses : SymbiFlow/actions/update_conda_lock@c6142a4ec7859653352757eb8f7c4630f63f96e3
33+ with :
34+ conda_lock_file : ' conda_lock.yml'
35+ environment_file : ' environment.yml'
36+
37+ - name : Check diff
38+ id : check-diff
39+ run : |
40+ if [[ $(git status --porcelain --ignore-submodules) ]]; then echo "::set-output name=changes::true"; else echo "::set-output name=changes::false"; fi
41+
42+ - name : Issue Pull Request
43+ if : ${{ github.ref == 'refs/heads/main' && steps.check-diff.outputs.changes == 'true' }}
44+ uses : peter-evans/create-pull-request@v4
45+ with :
46+ token : ${{ secrets.GITHUB_TOKEN }}
47+ author :
GitHub <[email protected] > 48+ commit-message : " [BOT] Conda Lock Update"
49+ title : " [BOT] Conda Lock Update"
50+ body : Pull Request created by the conda lock update workflow.
51+ branch : bot-conda-lock-update
52+ labels : bot-conda-lock-update,merge-if-green
53+ delete-branch : true
54+ signoff : true
Original file line number Diff line number Diff line change 88
99TOP_DIR := $(realpath $(dir $(lastword $(MAKEFILE_LIST ) ) ) )
1010REQUIREMENTS_FILE := requirements.txt
11- ENVIRONMENT_FILE := environment .yml
11+ ENVIRONMENT_FILE := conda_lock .yml
1212
1313# Paths
1414RAPIDWRIGHT_PATH ?= $(TOP_DIR ) /third_party/RapidWright
Original file line number Diff line number Diff line change 1+ # Copyright (C) 2022 F4PGA Authors.
2+ #
3+ # Use of this source code is governed by a ISC-style
4+ # license that can be found in the LICENSE file or at
5+ # https://opensource.org/licenses/ISC
6+ #
7+ # SPDX-License-Identifier:ISC
8+
9+ name : fpga-interchange
10+ channels :
11+ - defaults
12+ - litex-hub
13+ dependencies :
14+ - litex-hub::capnproto-java=0.1.5_0012_g44a8c1e=20201104_165332
15+ - litex-hub::gcc-riscv64-elf-newlib=9.2.0=20201119_154229
16+ - litex-hub::iverilog=0_8_5850_g540555fc=20210730_085634
17+ - litex-hub::nextpnr-fpga_interchange
18+ - litex-hub::prjoxide=v0.0_398_g711770c=20210730_085634
19+ - litex-hub::prjxray-db
20+ - litex-hub::prjxray-tools
21+ - litex-hub::vtr-optimized
22+ - litex-hub::yosys
23+ - swig
24+ - packaging=21.3
25+ - pip=21.1.3
26+ - pip :
27+ - -r requirements.txt
Original file line number Diff line number Diff line change @@ -14,13 +14,14 @@ dependencies:
1414 - litex-hub::capnproto-java=0.1.5_0012_g44a8c1e=20201104_165332
1515 - litex-hub::gcc-riscv64-elf-newlib=9.2.0=20201119_154229
1616 - litex-hub::iverilog=0_8_5850_g540555fc=20210730_085634
17- - litex-hub::nextpnr-fpga_interchange=0.2_33_g81e97086=20220302_164843_py37
17+ - litex-hub::nextpnr-fpga_interchange
1818 - litex-hub::prjoxide=v0.0_398_g711770c=20210730_085634
19- - litex-hub::prjxray-db=0.0_257_g0a0adde=20220202_022309
20- - litex-hub::prjxray-tools=0.1_2942_g5349556b=20220202_022309
21- - litex-hub::vtr-optimized=8.0.0_5170_g81b5aa2a8=20220202_022309
22- - litex-hub::yosys=0.13_39_g958c3a46a=20220202_022309_py37
19+ - litex-hub::prjxray-db
20+ - litex-hub::prjxray-tools
21+ - litex-hub::vtr-optimized
22+ - litex-hub::yosys
2323 - swig
24- - pip
24+ - packaging=21.3
25+ - pip=21.1.3
2526 - pip :
2627 - -r requirements.txt
You can’t perform that action at this time.
0 commit comments