Initialize with the best seed instead of initial seed at population w… #281
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
name: ci | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-22.04 | |
container: ghcr.io/picknikrobotics/pick_ik:ci | |
env: | |
CCACHE_DIR: ${{ github.workspace }}/.ccache | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v3 | |
- name: Cache ccache | |
uses: pat-s/always-upload-cache@v3.0.1 | |
with: | |
path: ${{ env.CCACHE_DIR }} | |
key: ccache-${{ github.sha }}-${{ github.run_id }} | |
restore-keys: | | |
ccache-${{ github.sha }} | |
ccache | |
- name: Source ROS Workspaces | |
run: | | |
. /opt/ros/rolling/setup.sh | |
echo "$(env)" >> $GITHUB_ENV | |
- name: Configure | |
run: cmake --preset relwithdebinfo | |
- name: Build | |
working-directory: ./build/relwithdebinfo | |
run: ninja | |
- name: Test | |
working-directory: ./build/relwithdebinfo | |
run: ctest . --rerun-failed --output-on-failure |