Skip to content

revert debug changes #79

revert debug changes

revert debug changes #79

name: Build For Linux
on:
push:
branches:
- dev
pull_request:
branches:
- dev
env:
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
jobs:
build:
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: "**/cpm_modules"
key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
- name: Set up GCC
uses: egor-tensin/setup-gcc@v1
with:
version: latest
platform: x64
- name: Install Dependencies
run: sudo apt-get install -y libfuse-dev zlib1g-dev
- name: Configure
run: cmake -S standalone -B build/standalone
- name: Build
run: cmake --build build/standalone -j3
- name: Make Release Body
id: info
run: |
echo Built from \#`git rev-parse --short HEAD` > release.md
echo ::set-output name=tag::linux-${{ matrix.os }}-`git rev-parse --short HEAD`-dev
- name: Release
uses: ncipollo/release-action@v1
with:
artifacts: "build/standalone/GhostFS"
bodyFile: "release.md"
prerelease: true
tag: ${{ steps.info.outputs.tag }}
token: ${{ secrets.PERSONAL_TOKEN }}
repo: ghostfs-builds