Skip to content

feat: solve static linking windows triplet #27

feat: solve static linking windows triplet

feat: solve static linking windows triplet #27

Workflow file for this run

name: LsDynaToApdl Bazel Continuous Integration
on: [push, pull_request]
jobs:
build:
name: ${{ matrix.config.name }}
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- {
name: "Windows Latest MSVC", artifact: "Windows-MSVC",
os: windows-latest,
cc: "cl", cxx: "cl",
environment_script: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat"
}
- {
name: "Windows Latest MinGW", artifact: "Windows-MinGW",
os: windows-latest,
cc: "gcc", cxx: "g++"
}
- {
name: "Ubuntu Latest GCC", artifact: "Linux",
os: ubuntu-latest,
cc: "gcc", cxx: "g++"
}
- {
name: "macOS Latest Clang", artifact: "macOS",
os: macos-latest,
cc: "clang", cxx: "clang++"
}
steps:
- name: checkout
uses: actions/checkout@v4
- name: build and test
run: |
bazel build //... -c opt --cxxopt=-DTEST_FILE_PATH="\"$PWD/test\""
bazel test //... -c opt --test_output=all --cxxopt=-DTEST_FILE_PATH="\"$PWD/test\""