forked from idea-fasoc/OpenFASOC
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflow test and trim others temperorily
Want to utilize the runners to test the verify_gen_gds.yml Just temporarily removing the other tests so we can focus our runners and increase our iteration speed.
- Loading branch information
Showing
5 changed files
with
36 additions
and
184 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Basic Installation, gds setup | ||
on: [push, pull_request] | ||
jobs: | ||
Install-Dependencies_Data-Prep_CPU-Training_CPU-Inference: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v4 | ||
- run: echo "${{ github.repository }} repository has been cloned to the runner." | ||
- run: echo "Currently on ${{ github.ref }} branch" | ||
- name: ls of directory | ||
run: | | ||
ls ${{ github.workspace }} | ||
# Caching pip dependencies | ||
- name: Cache pip dependencies | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements_cpu.txt') }} | ||
restore-keys: | | ||
${{ runner.os }}-pip- | ||
- name: Install dependencies | ||
run: | | ||
$CONDA/bin/conda env update --file environment.yml --name base | ||
source git_runner_deps.sh | ||
source ~/miniconda3/bin/activate | ||
cd openfasoc/generators/gdsfactory-gen | ||
python3 -m pip install --upgrade pip | ||
python3 -m pip install -r requirements.txt | ||
ls | ||
cd tapeout_and_RL | ||
ls | ||
python3 sky130_nist_tapeout.py gen_opamp -output_gds test.gds | ||
python3 sky130_nist_tapeout.py test -output_dir test_output_dir | ||
ls | ||