Shorten ip address lookup timeout #186
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
# SPDX-FileCopyrightText: The vmnet-helper authors | |
# SPDX-License-Identifier: Apache-2.0 | |
--- | |
name: Test | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Build | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: | |
# https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for--private-repositories | |
- macos-13 # amd64 | |
- macos-15 # arm64 | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v4 | |
- name: Ensure tag | |
# Archving requires a tag, but we checkout only the last commit. | |
run: git describe --tags 2>/dev/null || git tag devel | |
- name: Install requirements | |
run: brew install meson diffoscope | |
- name: Build | |
run: | | |
meson setup build | |
meson compile -C build | |
./archive.sh build | |
- name: Test reproducibility | |
run: | | |
meson setup repro | |
meson compile -C repro | |
./archive.sh repro | |
diffoscope build/vmnet-helper-*.tar.gz repro/vmnet-helper-*.tar.gz | |
- name: List shared interfaces | |
run: build/vmnet-helper --list-shared-interfaces |