Add domainname test #4097
Workflow file for this run
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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
changes: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 15 | |
outputs: | |
any_modified: ${{ steps.filter.outputs.any_modified }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: tj-actions/changed-files@v36 | |
id: filter | |
with: | |
files: | | |
.github/workflows/integration_tests_validation.yaml | |
tests/rust-integration-tests/** | |
files_ignore: | | |
**.md | |
- name: List all changed files | |
run: | | |
for file in ${{ steps.filter.outputs.all_modified_files }}; do | |
echo "$file was changed" | |
done | |
validate: | |
needs: [changes] | |
if: needs.changes.outputs.any_modified == 'true' | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Rust toolchain and cache | |
uses: actions-rust-lang/[email protected] | |
- name: Install just | |
uses: taiki-e/install-action@just | |
- name: Install requirements | |
run: sudo env PATH=$PATH just ci-prepare | |
- name: Download runc code | |
uses: actions/checkout@v3 | |
with: | |
repository: opencontainers/runc | |
path: runc | |
- name: Build runc | |
run: | | |
cd runc | |
make | |
- name: Install runc 1.1.0 | |
run: | | |
sudo install ./runc/runc /usr/bin/runc | |
- name: Build | |
run: just runtimetest rust-oci-tests-bin | |
- name: Validate tests on runc | |
run: just validate-rust-oci-runc |