master
HybridDog 2021-09-21 17:51:56 +02:00
parent c7b04a68fc
commit ffb14fe72a
1 changed files with 27 additions and 27 deletions

View File

@ -1,36 +1,36 @@
name: main
on:
push:
branches:
- master
tags:
- '*'
push:
branches:
- master
tags:
- '*'
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends libpng-dev g++
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends libpng-dev g++
- name: Build
run: |
make -j "$(nproc)"
- name: Build
run: |
make -j "$(nproc)"
- name: Install
run: |
make install DESTDIR="/tmp/firstci"
- name: Install
run: |
make install DESTDIR="/tmp/firstci"
- name: Package
run: |
mkdir -p upload
mv /tmp/firstci upload
- name: Package
run: |
mkdir -p upload
mv /tmp/firstci upload
- uses: actions/upload-artifact@v2
with:
name: "executable"
path: upload/firstci/png_ssim_down
- uses: actions/upload-artifact@v2
with:
name: "executable"
path: upload/firstci/png_ssim_down