Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #234 from Saverio976/dev
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
Saverio976 committed May 14, 2023
2 parents 1522fd3 + da92dc7 commit 606f78c
Show file tree
Hide file tree
Showing 9 changed files with 899 additions and 9 deletions.
19 changes: 19 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
changelog:
exclude:
labels:
- ignore-for-release
authors:
- octocat
categories:
- title: Breaking Changes 🛠
labels:
- Semver-Major
- breaking-change
- title: Exciting New Features 🎉
labels:
- Semver-Minor
- enhancement
- todo
- title: Other Changes
labels:
- "*"
40 changes: 40 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build and release

on:
push:
tags:
- '*'

jobs:

release-exe:
runs-on: ubuntu-latest
container: epitechcontent/epitest-docker:latest

steps:
- name: Clone
uses: actions/checkout@v3

- name: Install dependencies
run: sudo apt-get install -y cmake make g++ tar gzip

- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Release

- name: Build
run: cmake --build ${{github.workspace}}/build --config Release

- name: Package to archive
run: |
mkdir raytracer-bin
cp raytracer raytracer-bin/raytracer
cp -r plugins raytracer-bin/
tar -czf raytracer.tar.gz raytracer-bin -I 'gzip -9'
- name: Upload to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: "raytracer.tar.gz"
tag: ${{ github.ref }}
overwrite: true
Binary file added Assets/scene4kpyramide_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Build and release](https://github.com/Saverio976/Raytracer/actions/workflows/release.yml/badge.svg?branch=main)](https://github.com/Saverio976/Raytracer/actions/workflows/release.yml)

# RayTracer

Projet réalisé en 2ème année à EPITECH
Expand All @@ -17,6 +19,15 @@ L'objectif est de réaliser un [Raytracer](https://fr.wikipedia.org/wiki/Ray_tra

![image](./documentation/reprere.png)

<details>
<summary>example 4K image and its config file ...</summary>

![pyramid](/Assets/scene4kpyramide_0.png)

[config link](/scenes/4K/pyramide.yaax)

</details>

## TOC

- [Raytracer](#RayTracer)
Expand Down
Loading

0 comments on commit 606f78c

Please sign in to comment.