Update osx workflow #1165
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: Docker Image CI | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set Timestamp Variable | |
run: echo "TIMESTAMP=$(date +%s)" >> $GITHUB_ENV | |
- name: Build the Docker image | |
run: docker build . --file Dockerfile --tag triton-docker:$TIMESTAMP | |
- name: Run test cases | |
run: docker run --entrypoint /bin/bash --rm triton-docker:$TIMESTAMP -c 'ctest --test-dir /tmp/triton-build/ --output-on-failure' |