-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
4b54d54
commit 2044963
Showing
5 changed files
with
108 additions
and
72 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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu | ||
{ | ||
"name": "TMS Express", | ||
|
||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | ||
"image": "mcr.microsoft.com/devcontainers/base:jammy", | ||
|
||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
"features": { | ||
"ghcr.io/devcontainers-contrib/features/wget-apt-get:1": {} | ||
}, | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
|
||
// Use 'postCreateCommand' to run commands after the container is created. | ||
"postCreateCommand": "sudo apt update && sudo apt install cmake wget libsndfile1-dev libsamplerate0-dev qt6-base-dev qt6-multimedia-dev libgl1-mesa-dev -y", | ||
|
||
// Configure tool-specific properties. | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-vscode.cpptools", | ||
"ms-vscode.cpptools-extension-pack", | ||
"twxs.cmake", | ||
"ms-vscode.cmake-tools", | ||
"streetsidesoftware.code-spell-checker", | ||
"mine.cpplint", | ||
"github.vscode-github-actions" | ||
] | ||
} | ||
} | ||
|
||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | ||
// "remoteUser": "root" | ||
} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Build & Release (macOS) | ||
on: | ||
push: | ||
tags: | ||
- "v*.*.*" | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Dependencies | ||
run: brew install cmake libsndfile libsamplerate pkg-config qt | ||
|
||
- name: Configure Build | ||
run: cmake -B build -DCMAKE_BUILD_TYPE=Release -DTMSEXPRESS_BUILD_TESTS=OFF | ||
|
||
- name: Build | ||
run: cmake --build ${{github.workspace}}/build --config Release | ||
|
||
- name: Package Build Artifact | ||
run: zip -jr ${{github.workspace}}/build-macos.zip ${{github.workspace}}/build/tmsexpress | ||
|
||
- name: Attach to Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: | | ||
${{github.workspace}}/build-macos.zip | ||
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Build & Release (Ubuntu) | ||
on: | ||
push: | ||
tags: | ||
- "v*.*.*" | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Dependencies | ||
run: sudo apt install cmake wget libsndfile1-dev libsamplerate0-dev qt6-base-dev qt6-multimedia-dev libgl1-mesa-dev | ||
- name: Configure Build | ||
run: cmake -B build -DCMAKE_BUILD_TYPE=Release -DTMSEXPRESS_BUILD_TESTS=OFF | ||
|
||
- name: Build | ||
run: cmake --build ${{github.workspace}}/build --config Release | ||
|
||
- name: Install cqtdeployer | ||
run: | | ||
wget https://github.com/QuasarApp/CQtDeployer/releases/download/v1.6.2320/CQtDeployer_1.6.2320.097d82b_Linux_x86_64.deb | ||
sudo dpkg -i CQtDeployer_1.6.2320.097d82b_Linux_x86_64.deb | ||
- name: Deploy Project | ||
run: cqtdeployer -targetDir ${{github.workspace}}/tmsexpress -bin ${{github.workspace}}/build/tmsexpress -extraLibs libb2.so.1 | ||
|
||
- name: Package Build Artifact | ||
run: cd ${{github.workspace}} && zip -r build-linux.zip tmsexpress | ||
|
||
- name: Attach to Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: | | ||
${{github.workspace}}/build-linux.zip | ||
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