3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-14 06:45:26 +00:00

ci: Introduce artifacts

Separates `test-linux` into `build-linux` and `test-linux`, wherein `build-` builds out of tree, and uploading the build for the `test-` job.
Tar compression is done to retain execution permissions when downloading build artifact.
When calling `make test`, override `TARGETS` and `EXTRA_TARGETS` to prevent rebuild.
This commit is contained in:
Krystine Sherwin 2024-02-05 21:48:25 +13:00
parent 1a54e8d47b
commit 69eb39582b
No known key found for this signature in database
2 changed files with 61 additions and 14 deletions

View file

@ -1,6 +1,12 @@
name: Build and run tests (macOS)
on: [push, pull_request]
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
pre_job:
@ -27,7 +33,6 @@ jobs:
- { id: macos-13, name: 'Ventura' }
cpp_std:
- 'c++11'
- 'c++17'
fail-fast: false
steps:
- name: Install Dependencies