-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
28 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,34 +48,37 @@ jobs: | |
- name: run echo example app | ||
run: Powershell.exe -File .\tests\echo_script_test.ps1 | ||
|
||
container-test-job: | ||
build-linux: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
BUILD_TYPE: ["Debug"] | ||
os: [ ubuntu-latest ] | ||
container: | ||
image: mcr.microsoft.com/service-fabric/onebox:latest | ||
env: | ||
NODE_ENV: development | ||
ports: | ||
- 80 | ||
volumes: | ||
- my_docker_volume:/volume_mount | ||
options: --cpus 1 | ||
os: [ ubuntu-20.04 ] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: apt-get | ||
run: apt-get update && apt-get install apt-transport-https curl lsb-release wget gnupg2 software-properties-common debconf-utils cmake build-essential libc6 -y | ||
run: apt-get update && apt-get install apt-transport-https curl lsb-release wget gnupg2 software-properties-common debconf-utils clang lld -y | ||
|
||
- uses: actions/checkout@v2 | ||
- name: Check for dockerenv file | ||
run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) | ||
- name: install sf | ||
run: | | ||
wget -q https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb; | ||
sudo dpkg -i packages-microsoft-prod.deb; | ||
curl -fsSL https://packages.microsoft.com/keys/msopentech.asc | sudo apt-key add - ; | ||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - ; | ||
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" ; | ||
sudo apt-get update; | ||
echo "servicefabric servicefabric/accepted-eula-ga select true" | sudo debconf-set-selections ; | ||
echo "servicefabricsdkcommon servicefabricsdkcommon/accepted-eula-ga select true" | sudo debconf-set-selections ; | ||
sudo apt-get install servicefabricsdkcommon -y | ||
- name: Get specific version CMake, v3.21.2 | ||
uses: lukka/[email protected] | ||
|
||
- name: Install rust stable | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
|
||
- name: run cmake | ||
run: > | ||
cmake . -DCMAKE_BUILD_TYPE=${{ matrix.BUILD_TYPE }} -B build | ||
|
@@ -88,18 +91,6 @@ jobs: | |
# - name: apt-get | ||
# run: sudo apt-get install apt-transport-https curl lsb-release wget gnupg2 software-properties-common debconf-utils -y | ||
|
||
# - name: install sf | ||
# run: | | ||
# wget -q https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb; | ||
# sudo dpkg -i packages-microsoft-prod.deb; | ||
# curl -fsSL https://packages.microsoft.com/keys/msopentech.asc | sudo apt-key add - ; | ||
# curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - ; | ||
# sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" ; | ||
# sudo apt-get update; | ||
# echo "servicefabric servicefabric/accepted-eula-ga select true" | sudo debconf-set-selections ; | ||
# echo "servicefabricsdkcommon servicefabricsdkcommon/accepted-eula-ga select true" | sudo debconf-set-selections ; | ||
# sudo apt-get install servicefabricsdkcommon -y | ||
|
||
# - name: Install rust stable | ||
# uses: actions-rs/toolchain@v1 | ||
# with: | ||
|