Skip to content

fix calculator issues, fix icon theme issues, fix search issues #22

fix calculator issues, fix icon theme issues, fix search issues

fix calculator issues, fix icon theme issues, fix search issues #22

Workflow file for this run

name: Continous CI
permissions:
contents: write
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up variables
id: date
run: |
echo "DATE=$(git log -n 1 --format='%ad' --date=format-local:'%Y%m%d.%H%M')" >> $GITHUB_ENV
echo "GH_RELEASE_FILE=sglauncher-$(git log -n 1 --format='%ad' --date=format-local:'%Y%m%d.%H%M')-$(ldd --version | awk '/ldd/{print "-gnu-" $NF}')" >> $GITHUB_ENV
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
build-essential \
libgtk-3-dev \
pkg-config \
clang
- name: Build with GCC
run: |
make CC=gcc
mv sglauncher ${{ env.GH_RELEASE_FILE }}
- name: Build with Clang
run: |
make CC=clang
continue-on-error: true
- name: Build with -Werror
run: |
cc `pkg-config --cflags gtk+-3.0` -Dmver=\"NULL\" -Werror -o sglauncher sglauncher.o `pkg-config --libs gtk+-3.0` -lm --verbose
continue-on-error: true
- name: Release
uses: softprops/action-gh-release@v2
with:
name: Release ci-${{ env.DATE }}
body: ${{ github.event.head_commit.message }}
tag_name: ${{ env.DATE }}
files: |
${{ env.GH_RELEASE_FILE }}