diff --git a/.actrc b/.actrc new file mode 100644 index 00000000..397d7f68 --- /dev/null +++ b/.actrc @@ -0,0 +1,6 @@ +--container-architecture linux/amd64 +--secret-file=/home/vanderaa/.secrets +-P self-hosted=docker.exascience.org:5000/csa_env_dlang +-P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest +-P ubuntu-20.04=ghcr.io/catthehacker/ubuntu:act-20.04 +-P ubuntu-18.04=ghcr.io/catthehacker/ubuntu:act-18.04 diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index baa51990..97e8e444 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -21,9 +21,13 @@ jobs: - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse - # to supply options, put them in 'env', like: - # env: - # CIBW_SOME_OPTION: value + env: + CIBW_BUILD: 'cp36-manylinux_x86_64 cp37-manylinux_x86_64 cp38-manylinux_x86_64 cp39-manylinux_x86_64' + CIBW_ENVIRONMENT: 'CMAKE_ARGS="-DENABLE_BOOST=OFF -DENABLE_CMDLINE=OFF -DENABLE_TESTS=OFF" BUILD_ARGS=-j6' + CIBW_MANYLINUX_X86_64_IMAGE: vanderaa/manylinux2014_x86_64_smurff + CIBW_TEST_COMMAND: 'pytest {project}/python/test' + CIBW_TEST_REQUIRES: 'parameterized pytest' + CIBW_BUILD_VERBOSITY: 1 - uses: actions/upload-artifact@v4 with: