This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
upd - Updated to .NET 8 #19
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: Build Project (for Launchpad PPA) | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'true' | |
- name: Install required packages | |
run: | | |
sudo rm /etc/apt/sources.list.d/microsoft-prod.list | |
sudo apt update | |
sudo apt purge dotnet* | |
sudo apt autoremove | |
sudo apt install curl locales-all cli-common-dev libunwind8-dev libcurl4-openssl-dev dotnet-sdk-7.0 devscripts debhelper-compat dput | |
- name: Initialize offline package | |
run: | | |
sudo ip netns add no-net | |
chmod +x tools/initializeoffline.sh | |
make debian-init-offline | |
- name: Try to build | |
run: | | |
sudo ip netns exec no-net make debian-all-offline |