Skip to content

Add pyramide2K

Add pyramide2K #1126

Workflow file for this run

name: Publish
on: [push, pull_request]
env:
MIRROR_URL: [email protected]:EpitechPromo2026/B-OOP-400-TLS-4-1-raytracer-xavier.mitault.git
BINARY: "raytracer"
jobs:
compil:
runs-on: ubuntu-latest
container: epitechcontent/epitest-docker:latest
steps:
- uses: actions/checkout@v2
- name: install libconfig
run: sudo dnf install -y libconfig-devel libconfig
- name: make
run: |
mkdir -p build
cd build || exit 1
timeout 2m cmake .. || exit 2
timeout 2m make || exit 3
- name: check exec
run: |
find tests/documentation -type f -name '*.yaax' -exec ./raytracer --scene-path {} --output-path testit \;
publish:
needs: [compil]
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url:
${{ env.MIRROR_URL }}
ssh_private_key:
${{ secrets.SSH_KEY }}