diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8e2593d3..c2f36627 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,10 +10,10 @@ jobs: runs-on: ubuntu-latest container: ghcr.io/opencyphal/toxic:tx22.4.2 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.10' - name: version-check diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 36af9173..54fa1018 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest container: ghcr.io/opencyphal/toxic:tx22.4.2 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: lint @@ -27,17 +27,17 @@ jobs: - name: package run: tox -e package - name: upload-coverage-reports - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: coverage-reports path: .tox/report/tmp/* - name: upload-xunit-results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: xunit-results path: .tox/py310-test/tmp/xunit-result.xml - name: upload-package - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pypi-package path: .tox/package/dist/* @@ -45,19 +45,18 @@ jobs: sonar: runs-on: ubuntu-latest needs: test - container: sonarsource/sonar-scanner-cli steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # Disabling shallow clone is recommended for improving relevancy of reporting fetch-depth: 0 - name: download-converage-reports - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: coverage-reports path: .tox/report/tmp/ - name: download-xunit-results - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: xunit-results path: .tox/py310-test/tmp/ @@ -104,11 +103,11 @@ jobs: runs-on: ${{ matrix.python3-platform }} needs: test steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: setup python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.${{ matrix.python3-version }} - name: setup tox @@ -124,7 +123,7 @@ jobs: container: ghcr.io/opencyphal/toxic:tx22.4.2 needs: test steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: python3.${{ matrix.python3-version }} test @@ -133,7 +132,7 @@ jobs: language-verification-c: runs-on: ubuntu-latest needs: test - container: ghcr.io/opencyphal/toolshed:ts22.4.2 + container: ghcr.io/opencyphal/toolshed:ts22.4.8 strategy: matrix: build_type: [Debug, Release, MinSizeRel] @@ -147,7 +146,7 @@ jobs: - build_type: Release flag: --disable-asserts steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: verify @@ -163,7 +162,7 @@ jobs: language-verification-cpp-14: runs-on: ubuntu-latest needs: test - container: ghcr.io/opencyphal/toolshed:ts22.4.1 + container: ghcr.io/opencyphal/toolshed:ts22.4.8 strategy: matrix: build_type: [Debug, Release, MinSizeRel] @@ -178,7 +177,7 @@ jobs: flag: --disable-asserts steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: verify @@ -195,7 +194,7 @@ jobs: language-verification-cpp-17: runs-on: ubuntu-latest needs: test - container: ghcr.io/opencyphal/toolshed:ts22.4.1 + container: ghcr.io/opencyphal/toolshed:ts22.4.8 strategy: matrix: build_type: [Debug, Release, MinSizeRel] @@ -210,7 +209,7 @@ jobs: flag: --disable-asserts steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: verify @@ -229,7 +228,7 @@ jobs: needs: test container: ghcr.io/opencyphal/toxic:tx22.4.2 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: verify diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index cb715996..7f673c6e 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -80,8 +80,8 @@ skip the docker invocations and use ``tox run -s``. To run the language verification build you'll need to use a different docker container:: - docker pull ghcr.io/opencyphal/toolshed:ts22.4.5 - docker run --rm -it -v $PWD:/workspace ghcr.io/opencyphal/toolshed:ts22.4.5 + docker pull ghcr.io/opencyphal/toolshed:ts22.4.8 + docker run --rm -it -v $PWD:/workspace ghcr.io/opencyphal/toolshed:ts22.4.8 cd /workspace ./.github/verify.py -l c ./.github/verify.py -l cpp @@ -94,6 +94,17 @@ If you get a "denied" response from ghcr your ip might be getting rate-limited. you'll have to login to get around any rate-limiting for your local site. See [the github docs](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry) for how to setup a docker client login. + +If you get the following error:: + + gcc: error: unrecognized command-line option ‘-m32’ + +...it may mean you are trying to run one of our 32-bit platform tests using an armv8 docker image. For these builds +you might need to override the target platform and pull the x86 version of the container explicitly. For example:: + + docker run --rm -it --platform linux/amd64 -v $PWD:/workspace ghcr.io/opencyphal/toolshed:ts22.4.8 + + Files Generated by the Tests ================================================ diff --git a/submodules/unity b/submodules/unity index 98045925..1d28a998 160000 --- a/submodules/unity +++ b/submodules/unity @@ -1 +1 @@ -Subproject commit 98045925af4409942d43ac348aeab5a0554c9c7f +Subproject commit 1d28a9981207fa03be19018f60b23d5dca53cabc diff --git a/verification/.devcontainer/devcontainer.json b/verification/.devcontainer/devcontainer.json index 533a16a2..99d72894 100644 --- a/verification/.devcontainer/devcontainer.json +++ b/verification/.devcontainer/devcontainer.json @@ -1,6 +1,6 @@ { "name": "C/C++ verification environment", - "image": "ghcr.io/opencyphal/toolshed:ts22.4.5", + "image": "ghcr.io/opencyphal/toolshed:ts22.4.8", "workspaceFolder": "/workspace", "workspaceMount": "source=${localWorkspaceFolder}/..,target=/workspace,type=bind,consistency=delegated", "mounts": [