Run canary builds #63
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: Run canary builds | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
schedule: | |
- cron: "29 1 * * 1" | |
workflow_dispatch: | |
jobs: | |
ubuntu: | |
runs-on: ubuntu-latest | |
container: | |
image: ubuntu:devel | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v3 | |
- name: Install deps | |
run: apt-get update && apt-get install -y gnome-common libnautilus-extension-dev libgtk-4-dev python3-gi python3-docutils | |
- name: Test build | |
run: ./autogen.sh && make && make install | |
- name: Run tests | |
run: python3 ./dropbox_test.py | |
- name: Check that latest OS version is supported | |
run: | | |
. ./distro-info.sh | |
. /etc/os-release | |
./check-distro-info-support.sh "$VERSION_CODENAME" "$NAME $VERSION" "$UBUNTU_CODENAMES" | |
debian: | |
runs-on: ubuntu-latest | |
container: | |
image: debian:sid | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v3 | |
- name: Install deps | |
run: apt-get update && apt-get install -y gnome-common libnautilus-extension-dev libgtk-4-dev python3-gi python3-docutils | |
- name: Test build | |
run: ./autogen.sh && make && make install | |
- name: Run tests | |
run: python3 ./dropbox_test.py | |
- name: Check that latest OS version is supported | |
run: | | |
. ./distro-info.sh | |
. /etc/os-release | |
./check-distro-info-support.sh "$VERSION_CODENAME" "$PRETTY_NAME" "$DEBIAN_CODENAMES" | |
fedora: | |
runs-on: ubuntu-latest | |
container: | |
image: fedora:rawhide | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v3 | |
- name: Install deps | |
run: dnf install -y gnome-common nautilus-devel gtk4-devel python3-docutils python3-gobject | |
- name: Test build | |
run: ./autogen.sh && make && make install | |
- name: Run tests | |
run: python3 ./dropbox_test.py | |
- name: Check that latest OS version is supported | |
run: | | |
. ./distro-info.sh | |
. /etc/os-release | |
./check-distro-info-support.sh "$VERSION_ID" "Fedora $VERSION_ID" "$FEDORA_CODENAMES" |