mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-04 06:53:23 +02:00
ce9b781c34
* Update image before attempting to install anything
40 lines
777 B
YAML
40 lines
777 B
YAML
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: Update Image
|
|
run: sudo apt-get update -y
|
|
|
|
- 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 |