-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Streamlined bypassing signals from scan-chain stitching * Migrated test infrastructure to `pytest` * Removed `bench`: Completely reimplemented cut netlist to bench conversion at https://github.com/donn/nl2bench. * Removed `compact`: ATPG results are now always compacted * Removed Docker image- going to point to IIC-OSIC-JKU
- Loading branch information
Showing
37 changed files
with
769 additions
and
1,492 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -7,48 +7,32 @@ on: | |
pull_request: | ||
|
||
jobs: | ||
test: | ||
name: Test/Nix | ||
runs-on: macos-14 | ||
steps: | ||
- name: Check out Git repository | ||
uses: actions/checkout@v3 | ||
- uses: DeterminateSystems/nix-installer-action@main | ||
with: | ||
extra-conf: | | ||
extra-substituters = https://openlane.cachix.org | ||
extra-trusted-public-keys = openlane.cachix.org-1:qqdwh+QMNGmZAuyeQJTH9ErW57OWSvdtuwfBKdS254E= | ||
- uses: DeterminateSystems/magic-nix-cache-action@main | ||
- run: nix build | ||
push_to_pypi: | ||
name: Build/Publish Docker | ||
runs-on: ubuntu-20.04 | ||
name: Build | ||
needs: [test] | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Check out Git repository | ||
uses: actions/checkout@v2 | ||
- name: Export Repo URL | ||
run: echo "REPO_URL=https://github.com/${{ github.repository }}" >> $GITHUB_ENV | ||
- name: Export Branch Name | ||
run: echo "BRANCH_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV | ||
uses: actions/checkout@v3 | ||
- name: Set default for env.NEW_TAG | ||
run: echo "NEW_TAG=NO_NEW_TAG" >> $GITHUB_ENV | ||
- name: Write Hash | ||
run: | | ||
echo "GIT_COMMIT_HASH=$(git rev-parse HEAD)" >> $GITHUB_ENV | ||
- name: Build Image | ||
run: | | ||
docker build --target runner -t aucohl/fault:latest . | ||
- name: Check for new version | ||
if: ${{ env.BRANCH_NAME == 'main' }} | ||
run: | | ||
python3 .github/scripts/generate_tag.py | ||
- name: Log in to the Container registry | ||
if: ${{ env.BRANCH_NAME == 'main' }} | ||
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Push to GHCR (Commit) | ||
if: ${{ env.BRANCH_NAME == 'main' }} | ||
run: | | ||
docker image tag aucohl/fault:latest ghcr.io/aucohl/fault:${{ env.GIT_COMMIT_HASH }} | ||
docker push ghcr.io/aucohl/fault:${{ env.GIT_COMMIT_HASH }} | ||
- name: Push to GHCR (Tag) | ||
if: ${{ env.NEW_TAG != 'NO_NEW_TAG' }} | ||
run: | | ||
docker image tag aucohl/fault:latest ghcr.io/aucohl/fault:latest | ||
docker image tag aucohl/fault:latest ghcr.io/aucohl/fault:$NEW_TAG | ||
docker push ghcr.io/aucohl/fault:$NEW_TAG | ||
docker push ghcr.io/aucohl/fault:latest | ||
# Last, because this triggers the AppImage CI | ||
- name: Tag Commit | ||
if: ${{ env.NEW_TAG != 'NO_NEW_TAG' }} | ||
uses: tvdias/[email protected] | ||
|
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
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
Oops, something went wrong.