Files
gtkada/.github/workflows/native.yml
Maxim Reznik 74ff24f105 W212-002 Update GitHub Actions
Change-Id: I4f8f5b98e3dc2deea65cef1256171333e50e3bbf
2023-02-17 13:55:47 +02:00

51 lines
1.3 KiB
YAML

# Build GtkAda using native compiler and libs
on:
push:
branches:
- master
- gtk-3.22.30
pull_request:
branches:
- master
- gtk-3.22.30
name: Native (FSF) Build
jobs:
ubuntu:
runs-on: ubuntu-latest
name: Native on Ubuntu
steps:
- name: Get GtkAda
uses: actions/checkout@v3
- name: Install packages
run: |
sudo apt-get -qq update
sudo apt-get install -y cmake g++ gnat gprbuild pkg-config libgtk-3-dev make
- name: Build GtkAda
run: |
./configure --disable-static-pic --disable-static --with-GL=no --prefix=$PWD/prefix
make all install
windows:
runs-on: windows-latest
name: Native on Windows
defaults:
run:
shell: msys2 {0}
steps:
- name: Get GtkAda
uses: actions/checkout@v3
- name: Install packages
uses: msys2/setup-msys2@v2
with:
update: true
install: >-
mingw64/mingw-w64-x86_64-gtk3
mingw64/mingw-w64-x86_64-gprbuild
mingw64/mingw-w64-x86_64-gcc-ada
mingw64/mingw-w64-x86_64-pkg-config
msys/make
- name: Build GtkAda
run: |
./configure --disable-static-pic --disable-static --with-GL=no --prefix=$PWD/prefix
make all install