mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-27 02:52:18 +02:00
Add Test Build Workflow (#2069)
* Add GitHub Action to test build all pulls, re-introducing functionality lost after Travis CI functionality depreciation
This commit is contained in:
parent
aaf8505205
commit
c06e8ccfb6
37
.github/workflows/testbuild.yaml
vendored
Normal file
37
.github/workflows/testbuild.yaml
vendored
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
name: Test Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "master" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "master" ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check out code from GitHub
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Install build-essential
|
||||||
|
run: sudo apt install -y build-essential
|
||||||
|
|
||||||
|
- name: Install build-dependencies
|
||||||
|
run: sudo apt install -y libcurl4-openssl-dev libsqlite3-dev pkg-config git curl ldc
|
||||||
|
|
||||||
|
- name: Configure
|
||||||
|
run: ./configure
|
||||||
|
|
||||||
|
- name: Compile
|
||||||
|
run: make clean; make;
|
||||||
|
|
||||||
|
- name: Install
|
||||||
|
run: sudo make install
|
||||||
|
|
||||||
|
- name: Run
|
||||||
|
run: onedrive --version
|
Loading…
Reference in a new issue