Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/cache from 3 to 4 #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./.github/actions/cpp-tests
- uses: ./.github/actions/cpp-tests-func-gen
with:
build_type: ${{ matrix.build_type }}
c_compiler: ${{ matrix.c_compiler }}
Expand All @@ -47,7 +47,7 @@ jobs:
brew install bison flex
echo "/usr/local/opt/bison/bin" >> $GITHUB_PATH
echo "/usr/local/opt/flex/bin" >> $GITHUB_PATH
- uses: ./.github/actions/cpp-tests
- uses: ./.github/actions/cpp-tests-func-gen
with:
build_type: ${{ matrix.build_type }}
conan_profile: tests-${{ matrix.build_type }}-apple_clang-macos-x64
Expand All @@ -64,7 +64,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey
key: ${{ runner.os }}-chocolatey-cpp-0
Expand All @@ -73,7 +73,7 @@ jobs:
${{ runner.os }}-chocolatey-
- name: Install dependencies
run: choco install winflexbison3 --version 2.5.24.20210105
- uses: ./.github/actions/cpp-tests
- uses: ./.github/actions/cpp-tests-func-gen
with:
build_type: ${{ matrix.build_type }}
conan_profile: tests-${{ matrix.build_type }}-msvc-windows-x64
Expand All @@ -99,7 +99,7 @@ jobs:
run: |
apt-get update
apt-get install -y bison flex
- uses: ./.github/actions/cpp-tests
- uses: ./.github/actions/cpp-tests-func-gen
with:
build_type: Release
conan_profile: tests-${{ matrix.build_type }}-gcc-linux-arm64
Expand All @@ -123,7 +123,7 @@ jobs:
echo "$(brew --prefix bison)/bin" >> $GITHUB_PATH
echo "$(brew --prefix flex)/bin" >> $GITHUB_PATH
shell: bash
- uses: ./.github/actions/cpp-tests
- uses: ./.github/actions/cpp-tests-func-gen
with:
build_type: Release
conan_profile: tests-${{ matrix.build_type }}-apple_clang-macos-arm64
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./.github/actions/cpp-tests
- uses: ./.github/actions/cpp-tests-libqasm
with:
build_type: Release
conan_profile_host: conan/profiles/release-gcc-linux-x64-shared
Expand All @@ -37,7 +37,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./.github/actions/cpp-tests
- uses: ./.github/actions/cpp-tests-libqasm
with:
build_type: ${{ matrix.build_type }}
conan_profile_host: conan/profiles/tests-${{ matrix.build_type }}-${{ matrix.compiler }}-linux-x64
Expand All @@ -55,7 +55,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./.github/actions/cpp-tests
- uses: ./.github/actions/cpp-tests-libqasm
with:
build_type: ${{ matrix.build_type }}
conan_profile_host: conan/profiles/tests-${{ matrix.build_type }}-apple_clang-macos-x64
Expand All @@ -73,7 +73,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./.github/actions/cpp-tests
- uses: ./.github/actions/cpp-tests-libqasm
with:
build_type: ${{ matrix.build_type }}
conan_profile_host: conan/profiles/tests-${{ matrix.build_type }}-msvc-windows-x64
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
- name: Add Conan to path
run: |
echo "${HOME}/.local/bin" >> $GITHUB_PATH
- uses: ./.github/actions/cpp-tests
- uses: ./.github/actions/cpp-tests-libqasm
with:
build_type: ${{ matrix.build_type }}
conan_profile_host: conan/profiles/tests-${{ matrix.build_type }}-gcc-linux-arm64
Expand All @@ -130,7 +130,7 @@ jobs:
brew install java
echo "$(brew --prefix java)/bin" >> $GITHUB_PATH
shell: bash
- uses: ./.github/actions/cpp-tests
- uses: ./.github/actions/cpp-tests-libqasm
with:
build_type: ${{ matrix.build_type }}
conan_profile_host: conan/profiles/tests-${{ matrix.build_type }}-apple_clang-macos-arm64
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:
run: |
echo "LIBQASM_BUILD_TYPE=Debug" >> $GITHUB_ENV
shell: bash
- uses: ./.github/actions/python-tests
- uses: ./.github/actions/python-tests-libqasm
with:
shell: bash

Expand All @@ -213,7 +213,7 @@ jobs:
run: |
echo "LIBQASM_BUILD_TYPE=Debug" >> $GITHUB_ENV
shell: bash
- uses: ./.github/actions/python-tests
- uses: ./.github/actions/python-tests-libqasm
with:
shell: bash

Expand All @@ -227,7 +227,7 @@ jobs:
run: |
echo "LIBQASM_BUILD_TYPE=Release" >> $env:GITHUB_ENV
shell: powershell
- uses: ./.github/actions/python-tests
- uses: ./.github/actions/python-tests-libqasm
with:
shell: bash

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./.github/actions/cpp-tests
- uses: ./.github/actions/cpp-tests-qx-simulator
with:
build_type: ${{ matrix.build_type }}
conan_profile_host: conan/profiles/tests-${{ matrix.build_type }}-${{ matrix.compiler }}-linux-x64
Expand All @@ -40,7 +40,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./.github/actions/cpp-tests
- uses: ./.github/actions/cpp-tests-qx-simulator
with:
build_type: ${{ matrix.build_type }}
conan_profile_host: conan/profiles/tests-${{ matrix.build_type }}-apple_clang-macos-x64
Expand All @@ -58,7 +58,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./.github/actions/cpp-tests
- uses: ./.github/actions/cpp-tests-qx-simulator
with:
build_type: ${{ matrix.build_type }}
conan_profile_host: conan/profiles/tests-${{ matrix.build_type }}-msvc-windows-x64
Expand All @@ -83,7 +83,7 @@ jobs:
- name: Add Conan to path
run: |
echo "${HOME}/.local/bin" >> $GITHUB_PATH
- uses: ./.github/actions/cpp-tests
- uses: ./.github/actions/cpp-tests-qx-simulator
with:
build_type: Release
conan_profile_host: conan/profiles/tests-release-gcc-linux-arm64
Expand All @@ -103,7 +103,7 @@ jobs:
brew install java
echo "$(brew --prefix java)/bin" >> $GITHUB_PATH
shell: bash
- uses: ./.github/actions/cpp-tests
- uses: ./.github/actions/cpp-tests-qx-simulator
with:
build_type: Release
conan_profile_host: conan/profiles/tests-release-apple_clang-macos-arm64
Expand All @@ -119,7 +119,7 @@ jobs:
run: |
sudo apt-get install -y swig
shell: bash
- uses: ./.github/actions/python-tests
- uses: ./.github/actions/python-tests-qx-simulator
with:
shell: bash

Expand All @@ -133,7 +133,7 @@ jobs:
run: |
brew install swig
shell: bash
- uses: ./.github/actions/python-tests
- uses: ./.github/actions/python-tests-qx-simulator
with:
shell: bash

Expand All @@ -143,7 +143,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./.github/actions/python-tests
- uses: ./.github/actions/python-tests-qx-simulator
with:
shell: bash

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./.github/actions/cpp-tests
- uses: ./.github/actions/cpp-tests-tree-gen
with:
build_type: ${{ matrix.build_type }}
conan_profile: conan/profiles/tests-${{ matrix.build_type }}-${{ matrix.compiler }}-linux-x64
Expand All @@ -40,7 +40,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./.github/actions/cpp-tests
- uses: ./.github/actions/cpp-tests-tree-gen
with:
build_type: ${{ matrix.build_type }}
conan_profile: conan/profiles/tests-${{ matrix.build_type }}-apple_clang-macos-x64
Expand All @@ -57,7 +57,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./.github/actions/cpp-tests
- uses: ./.github/actions/cpp-tests-tree-gen
with:
build_type: ${{ matrix.build_type }}
conan_profile: conan/profiles/tests-${{ matrix.build_type }}-msvc-windows-x64
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
- name: Add Conan to path
run: |
echo "${HOME}/.local/bin" >> $GITHUB_PATH
- uses: ./.github/actions/cpp-tests
- uses: ./.github/actions/cpp-tests-tree-gen
with:
build_type: ${{ matrix.build_type }}
conan_profile: conan/profiles/tests-${{ matrix.build_type }}-gcc-linux-arm64
Expand All @@ -110,7 +110,7 @@ jobs:
echo "$(brew --prefix bison)/bin" >> $GITHUB_PATH
echo "$(brew --prefix flex)/bin" >> $GITHUB_PATH
shell: bash
- uses: ./.github/actions/cpp-tests
- uses: ./.github/actions/cpp-tests-tree-gen
with:
build_type: ${{ matrix.build_type }}
conan_profile: conan/profiles/tests-${{ matrix.build_type }}-apple_clang-macos-arm64
Expand Down
111 changes: 111 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,jetbrains+all
# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,jetbrains+all

### JetBrains+all ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# AWS User-specific
.idea/**/aws.xml

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# SonarLint plugin
.idea/sonarlint/

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

### JetBrains+all Patch ###
# Ignore everything but code style settings and run configurations
# that are supposed to be shared within teams.

.idea/*

!.idea/codeStyles
!.idea/runConfigurations

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets

# Local History for Visual Studio Code
.history/

# Built Visual Studio Code Extensions
*.vsix

### VisualStudioCode Patch ###
# Ignore all local history of files
.history
.ionide

# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,jetbrains+all
File renamed without changes.
Loading
Loading