Skip to content

Commit

Permalink
ci updates
Browse files Browse the repository at this point in the history
  • Loading branch information
puffyCid committed Dec 3, 2024
1 parent d708534 commit 28f061a
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 12 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,24 @@ jobs:
- name: Add WASM Support
run: rustup target add wasm32-unknown-unknown

- name: Tauri build dependencies on Linux
if: matrix.info.os == 'ubuntu-latest'
run: sudo apt install libgtk-3-dev

- name: Install Podman on macOS
if: matrix.info.os == 'macOS-latest'
run: brew install podman && podman machine init
run: brew install podman && podman machine init && podman.exe machine start

- name: Setup Podman on non-Windows
if: matrix.info.os != 'windows-latest'
- name: Install Podman on Windows
if: matrix.info.os == 'windows-latest'
run: choco install podman-cli && podman.exe machine init && podman.exe machine start

- name: Setup Podman
run: mkdir -p ~/.config/containers && echo "unqualified-search-registries = ['docker.io']" > ~/.config/containers/registries.conf

- name: Download OpenSearch on Windows
if: matrix.info.os == 'windows-latest'
run: docker.exe run -it -p 9200:9200 -p 9600:9600 -e OPENSEARCH_INITIAL_ADMIN_PASSWORD="Ughsocomplex123567890!" -e "discovery.type=single-node" --name opensearch-node -d opensearchproject/opensearch:latest
run: podman.exe run -it -p 9200:9200 -p 9600:9600 -e OPENSEARCH_INITIAL_ADMIN_PASSWORD="Ughsocomplex123567890!" -e "discovery.type=single-node" --name opensearch-node -d opensearchproject/opensearch:latest

- name: Download OpenSearch on non-Windows
if: matrix.info.os != 'windows-latest'
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,24 @@ jobs:
with:
version: "latest"

- name: Tauri build dependencies on Linux
if: matrix.info.os == 'ubuntu-latest'
run: sudo apt install libgtk-3-dev

- name: Install Podman on macOS
if: matrix.info.os == 'macOS-latest'
run: brew install podman && podman machine init
run: brew install podman && podman machine init && podman.exe machine start

- name: Setup Podman on non-Windows
if: matrix.info.os != 'windows-latest'
- name: Install Podman on Windows
if: matrix.info.os == 'windows-latest'
run: choco install podman-cli && podman.exe machine init && podman.exe machine start

- name: Setup Podman
run: mkdir -p ~/.config/containers && echo "unqualified-search-registries = ['docker.io']" > ~/.config/containers/registries.conf

- name: Download OpenSearch on Windows
if: matrix.info.os == 'windows-latest'
run: docker.exe run -it -p 9200:9200 -p 9600:9600 -e OPENSEARCH_INITIAL_ADMIN_PASSWORD="Ughsocomplex123567890!" -e "discovery.type=single-node" --name opensearch-node -d opensearchproject/opensearch:latest
run: podman.exe run -it -p 9200:9200 -p 9600:9600 -e OPENSEARCH_INITIAL_ADMIN_PASSWORD="Ughsocomplex123567890!" -e "discovery.type=single-node" --name opensearch-node -d opensearchproject/opensearch:latest

- name: Download OpenSearch on non-Windows
if: matrix.info.os != 'windows-latest'
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,24 @@ jobs:
- name: Add WASM Support
run: rustup target add wasm32-unknown-unknown

- name: Tauri build dependencies on Linux
if: matrix.info.os == 'ubuntu-latest'
run: sudo apt install libgtk-3-dev

- name: Install Podman on macOS
if: matrix.info.os == 'macOS-latest'
run: brew install podman && podman machine init
run: brew install podman && podman machine init && podman.exe machine start

- name: Setup Podman on non-Windows
if: matrix.info.os != 'windows-latest'
- name: Install Podman on Windows
if: matrix.info.os == 'windows-latest'
run: choco install podman-cli && podman.exe machine init && podman.exe machine start

- name: Setup Podman
run: mkdir -p ~/.config/containers && echo "unqualified-search-registries = ['docker.io']" > ~/.config/containers/registries.conf

- name: Download OpenSearch on Windows
if: matrix.info.os == 'windows-latest'
run: docker.exe run -it -p 9200:9200 -p 9600:9600 -e OPENSEARCH_INITIAL_ADMIN_PASSWORD="Ughsocomplex123567890!" -e "discovery.type=single-node" --name opensearch-node -d opensearchproject/opensearch:latest
run: podman.exe run -it -p 9200:9200 -p 9600:9600 -e OPENSEARCH_INITIAL_ADMIN_PASSWORD="Ughsocomplex123567890!" -e "discovery.type=single-node" --name opensearch-node -d opensearchproject/opensearch:latest

- name: Download OpenSearch on non-Windows
if: matrix.info.os != 'windows-latest'
Expand Down

0 comments on commit 28f061a

Please sign in to comment.