Skip to content

Commit

Permalink
Avoid gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeNaccarato committed Jul 8, 2024
1 parent 6bf28e9 commit c6400b0
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 7 deletions.
5 changes: 1 addition & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@
"ghcr.io/joshuanianji/devcontainer-features/gcloud-cli-persistence:1.0.3": {}
},
"onCreateCommand": {
"install-pyqtgraph-deps": [
"pwsh",
"scripts/Initialize-UldaqLinuxMacOS.ps1"
],
"install-pyqtgraph-deps": ["pwsh", "scripts/Initialize-UlLinuxMacOS.ps1"],
"set-up-profile": [
"pwsh",
"-Command",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ jobs:
with:
submodules: True
- if: startsWith(matrix.runner, 'ubuntu') || startsWith(matrix.runner, 'macos')
run: "scripts/Initialize-UldaqLinuxMacOS.ps1"
run: "scripts/Initialize-UlLinuxMacOS.ps1"
- uses: "actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e" # v4.1.7
with:
name: "lock"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/high.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
with:
submodules: True
- if: startsWith(matrix.runner, 'ubuntu') || startsWith(matrix.runner, 'macos')
run: "scripts/Initialize-UldaqLinuxMacOS.ps1"
run: "scripts/Initialize-UlLinuxMacOS.ps1"
- uses: "actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e" # v4.1.7
with:
name: "lock"
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Data acquisition for a nucleate pool boiling experimental apparatus.

## Installation on WSL

Run [](../scripts/Initialize-UldaqLinuxMacOS.ps1).
Run [](../scripts/Initialize-UlLinuxMacOS.ps1).

:::{toctree}
:hidden:
Expand Down
19 changes: 19 additions & 0 deletions scripts/Initialize-UlLinuxMacOS.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<#.SYNOPSIS
Initialize Linux machine.#>
if ($IsLinux) {
sudo apt update
# ! https://askubuntu.com/questions/900285/libegl-so-1-is-not-a-symbolic-link
# ! https://askubuntu.com/a/1460390
# ! https://github.com/mccdaq/uldaq
sudo apt install 'libegl1-mesa-dev' 'libxkbcommon0' 'libxcb-cursor0' 'libxcb-xinerama0' 'libqt5x11extras5' 'gcc' 'g++' 'make' 'bzip2' 'gzip' 'libusb-1.0-0-dev'
}
curl -L -O 'https://github.com/mccdaq/uldaq/releases/download/v1.2.1/libuldaq-1.2.1.tar.bz2'
$Archive = 'libuldaq-1.2.1.tar.bz2'
tar -xvjf $Archive
Remove-Item $Archive
$Source = 'libuldaq-1.2.1'
Push-Location $Source
./configure && make
sudo make install
Pop-Location
Remove-Item -Recurse -Force $Source

0 comments on commit c6400b0

Please sign in to comment.