Translated using Weblate (Italian) #57
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: C/C++ CI Fedora 37 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: fedora:37 | |
options: --security-opt seccomp=unconfined | |
steps: | |
- name: Setup git | |
run: | | |
id | |
ls -la | |
dnf -y install git | |
- uses: actions/checkout@v3 | |
with: | |
path: 'eiciel-src' | |
- name: Setup dependencies | |
run: | | |
ls -la eiciel-src | |
adduser -m -U -d /home/user user | |
mv eiciel-src /home/user | |
chown -R user:user /home/user/eiciel-src | |
dnf -y install gcc-c++ gtkmm4.0-devel nautilus-devel libacl-devel libattr-devel meson itstool | |
- name: Configure | |
working-directory: /home/user/eiciel-src | |
run: | | |
sudo -u user -- meson setup builddir | |
- name: Build | |
working-directory: /home/user/eiciel-src/builddir | |
run: | | |
sudo -u user -- meson compile | |
- name: Dist | |
working-directory: /home/user/eiciel-src/builddir | |
run: | | |
sudo -u user -- git status | |
sudo -u user -- meson dist |