Skip to content

Commit

Permalink
Python test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri Rusin committed May 9, 2024
1 parent 3df4482 commit 72ef119
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 728 deletions.
81 changes: 0 additions & 81 deletions .github/workflows/macos.yml

This file was deleted.

56 changes: 0 additions & 56 deletions .github/workflows/python-publish.yml

This file was deleted.

56 changes: 0 additions & 56 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,62 +8,6 @@ env:


jobs:
build-test-cpp:
runs-on: ubuntu-20.04
strategy:
matrix:
rust: [stable, nightly]
compiler: [g++-10, g++-9, g++-8, g++-7]

steps:
- uses: actions/checkout@v2
with:
rust-version: ${{ matrix.rust }}
submodules: true

- name: Install dependencies
shell: bash
run: |
sudo apt-get update
sudo apt-get install doxygen python3-setuptools python3-dev python3-wheel -y
pip3 install wheel
- name: Create Build Environment
# Some projects don't allow in-source building, so create a separate build directory
# We'll use this as our working directory for all subsequent commands
env:
CXX: ${{ matrix.compiler }}
run: |
sudo apt-get update
sudo apt-get install ${{ matrix.compiler }} -y
git submodule status
cmake -E make_directory ${{runner.workspace}}/build
- name: Configure CMake
# Use a bash shell so we can use the same syntax for environment variable
# access regardless of the host operating system
shell: bash
env:
CXX: ${{ matrix.compiler }}
working-directory: ${{runner.workspace}}/build
# Note the current convention is to use the -S and -B options here to specify source
# and build directories, but this is only available with CMake 3.13 and higher.
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE

- name: Build
working-directory: ${{runner.workspace}}/build
shell: bash
env:
CXX: ${{ matrix.compiler }}
# Execute the build. You can specify a specific target with "--target <NAME>"
run: cmake --build . --config $BUILD_TYPE --target test_ioh

- name: Test
working-directory: ${{runner.workspace}}/build
shell: bash
run: tests/test_ioh

build-test-python:
runs-on: ubuntu-20.04
strategy:
Expand Down
67 changes: 0 additions & 67 deletions .github/workflows/windows.yml

This file was deleted.

Loading

0 comments on commit 72ef119

Please sign in to comment.