mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 22:23:23 +00:00
ci: Test sparse build
This should fail with the current makefile. Essentially a test case for #4470.
This commit is contained in:
parent
28ebefda4a
commit
9074b655f5
1 changed files with 31 additions and 0 deletions
31
.github/workflows/extra-builds.yml
vendored
31
.github/workflows/extra-builds.yml
vendored
|
@ -95,3 +95,34 @@ jobs:
|
||||||
with:
|
with:
|
||||||
install_url: https://releases.nixos.org/nix/nix-2.18.1/install
|
install_url: https://releases.nixos.org/nix/nix-2.18.1/install
|
||||||
- run: nix build .?submodules=1
|
- run: nix build .?submodules=1
|
||||||
|
|
||||||
|
sparse-build:
|
||||||
|
name: "Build without abc or git" # emulate build from release tarball
|
||||||
|
needs: pre_job
|
||||||
|
if: needs.pre_job.outputs.should_skip != 'true'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
CC: clang
|
||||||
|
steps:
|
||||||
|
- name: Sparse checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
sparse-checkout: |
|
||||||
|
.
|
||||||
|
backends
|
||||||
|
frontends
|
||||||
|
kernel
|
||||||
|
libs
|
||||||
|
misc
|
||||||
|
passes
|
||||||
|
techlibs
|
||||||
|
|
||||||
|
- name: Setup environment
|
||||||
|
uses: ./.github/actions/setup-build-env
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
make config-$CC
|
||||||
|
make -j$procs
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue