mirror of
https://github.com/xemu-project/xemu.git
synced 2026-10-20 17:49:17 +02:00
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 8.0.1 to 8.0.2. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c...9000827ccba6bdab643e8b6fd33ac0654aef8333) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-version: 8.0.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
31 lines
749 B
YAML
31 lines
749 B
YAML
name: Unit tests
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
test:
|
|
name: Run unit tests
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Download source package
|
|
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v4
|
|
with:
|
|
name: src
|
|
- name: Extract source package
|
|
run: |
|
|
mkdir src
|
|
tar -xf xemu-*.tar.zst -C src --strip-components=2
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt-get -qy update
|
|
pushd src
|
|
sudo apt-get -qy build-dep .
|
|
popd
|
|
- name: Configure
|
|
working-directory: src
|
|
run: ./configure --target-list=i386-softmmu --disable-werror
|
|
- name: Run unit tests
|
|
working-directory: src
|
|
run: make -j$(nproc) check-unit
|