Skip to content

Fix insert_hint for multiset and multimap #71

Fix insert_hint for multiset and multimap

Fix insert_hint for multiset and multimap #71

Workflow file for this run

name: IntelLLVM
on: [push, pull_request]
jobs:
build-and-test:
strategy:
matrix:
include:
# - build_type: 'Release'
# flags: '-std=c++20 -msse2'
- build_type: 'Debug'
flags: '-std=c++20 -msse2'
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Ninja
run: sudo apt-get install ninja-build
- name: Install Intel
run: |
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
sudo apt-get update
sudo apt-get install intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic
source /opt/intel/oneapi/setvars.sh
printenv >> $GITHUB_ENV
- name: Build
env:
CXX: icpx
CXXFLAGS: ${{ matrix.flags }}
run: |
cd test
mkdir build
cd build
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
cmake --build . -v
- name: Test
run: test/build/momo_test